diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2025-01-25 00:15:56 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2025-01-25 00:15:56 +0100 |
commit | 07ee7ac29115ce01075f01165d9474e2526baf26 (patch) | |
tree | 0f0b67c1849f7c6cb725ebcb5be20392be13e7a0 | |
parent | 0721e9d1370109a1c0c96e3c3b3754a4c2ffc659 (diff) |
add build command for distribution
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | makefile | 5 |
2 files changed, 6 insertions, 0 deletions
@@ -5,3 +5,4 @@ _site .DS_Store Gemfile.lock +_dist.tar.gz @@ -2,6 +2,7 @@ JEKYLL_ENV ?= development # JEKYLL_ENV ?= production +export JEKYLL_ENV WEBROOT ?= _site @@ -35,3 +36,7 @@ $(REPO_META): clean: FORCE $(RM) -r $(WEBROOT) +_dist.tar.gz: FORCE + $(MAKE) -E JEKYLL_ENV=production -B build + tar -zcf $@ -C _site . + |