diff options
author | Rasmus Andersson <rasmus@notion.se> | 2022-09-29 22:10:43 +0300 |
---|---|---|
committer | Rasmus Andersson <rasmus@notion.se> | 2022-09-29 22:10:43 +0300 |
commit | 47f233286a30f5ce22bb113a3854c81cc971ce47 (patch) | |
tree | 24c1c1dee7ee67e09fe91cd3fd141654a51664e9 /docs/Makefile | |
parent | 4e99e332a56ef2a94d68f280729363a0d654c721 (diff) | |
download | inter-47f233286a30f5ce22bb113a3854c81cc971ce47.tar.xz |
website: adjustments to "using" after #497 (and update jekyll script while at it)
Diffstat (limited to 'docs/Makefile')
-rw-r--r-- | docs/Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/docs/Makefile b/docs/Makefile index e332f0006..9dae0e45a 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -6,13 +6,22 @@ export PATH := $(BIN):$(PATH) default: @echo "Please specify a target: build, serve or dist" >&2 -build: +build: .ruby-bundle rm -rf _site bundle exec jekyll build -serve: +serve: .ruby-bundle ./_scripts/serve.sh +.ruby-bundle: Gemfile Gemfile.lock + @if ! (command -v bundle >/dev/null && command -v jekyll >/dev/null); then \ + echo "Please install Ruby bundle and jekyll: gem install bundler jekyll" >&2; \ + exit 1; \ + fi + bundle update + bundle install + touch .ruby-bundle + # ----------------------------------------------------------------------- dist: fonts info |