Document Makefile.

This commit is contained in:
Luke Murphy 2017-10-04 16:43:40 +02:00
parent e97c59e7fe
commit 12c392bde3
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 9 additions and 3 deletions

View File

@ -1,8 +1,14 @@
DEV_DIST_DIR:=./devdist/
PROD_DIST_DIR:=./dist/
devserver:
jekyll serve --incremental --destination devdist
@echo "Serving development site from $(DEV_DIST_DIR)"
@jekyll serve --watch --incremental --destination devdist
proddist:
jekyll build
@echo "Building production site into $(PROD_DIST_DIR)"
@jekyll build
release:
git subtree push --prefix dist upstream production
@echo "Pushing $(PROD_DIST_DIR) contents to the upstream production branch"
@git subtree push --prefix dist upstream production