15 lines
436 B
Makefile
15 lines
436 B
Makefile
DEV_DIST_DIR:=./dist/
|
|
PROD_DIST_DIR:=./proddist/
|
|
|
|
devserver:
|
|
@echo "Serving development site from $(DEV_DIST_DIR)"
|
|
@jekyll serve --watch --incremental --destination $(DEV_DIST_DIR)
|
|
|
|
proddist:
|
|
@echo "Building production site into $(PROD_DIST_DIR)"
|
|
@jekyll build --destination $(PROD_DIST_DIR)
|
|
|
|
release:
|
|
@echo "Pushing $(PROD_DIST_DIR) contents to the upstream production branch"
|
|
@git subtree push --prefix dist upstream production
|