From 47f233286a30f5ce22bb113a3854c81cc971ce47 Mon Sep 17 00:00:00 2001 From: Rasmus Andersson Date: Thu, 29 Sep 2022 12:10:43 -0700 Subject: website: adjustments to "using" after #497 (and update jekyll script while at it) --- docs/Makefile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'docs/Makefile') 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 -- cgit v1.2.3