From 5d088aa25f69afdb9ba208def8c23b4f45bbe0b8 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sun, 28 Apr 2024 14:16:08 +0200 Subject: use sass + fix code hightlight --- makefile | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) (limited to 'makefile') diff --git a/makefile b/makefile index ddbddcd..b5f594d 100644 --- a/makefile +++ b/makefile @@ -1,5 +1,20 @@ -build: - bundle exec jekyll build --quiet +JEKYLL_ENV ?= development +# JEKYLL_ENV ?= production + +WEBROOT ?= _site + +JEKYLL_BUILD_ARGS += --quiet +JEKYLL_BUILD_ARGS += --destination $(WEBROOT) + +# Gemfile.lock is used as a proxy for checking if the required gems are +# installed + +build: Gemfile.lock + bundle exec jekyll build $(JEKYLL_BUILD_ARGS) + +Gemfile.lock: Gemfile + bundle install --quiet clean: - $(RM) -r _site + $(RM) -r $(WEBROOT) + -- cgit v1.2.3