Fix destinations for building.

This commit is contained in:
Luke Murphy 2017-10-04 16:53:19 +02:00
parent 3c7daed5d3
commit 35b8e8bce8
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 4 additions and 4 deletions

View File

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