diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-04-28 14:16:08 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-04-28 14:16:08 +0200 |
commit | 5d088aa25f69afdb9ba208def8c23b4f45bbe0b8 (patch) | |
tree | d13f3eb2e7cf7bb63664d43b9c79135808e912a7 /makefile | |
parent | bc5b85043974e4af9c90962c2acde36b0e7de02a (diff) |
use sass + fix code hightlight
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 21 |
1 files changed, 18 insertions, 3 deletions
@@ -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) + |