generated from Alice/alice-jekyll-template
18 lines
447 B
Makefile
Executable File
18 lines
447 B
Makefile
Executable File
JEKYLL_CMD = bundle exec jekyll
|
|
DEST_PATH = /var/www/html/alice_sites/wonderland
|
|
DEST_DIR_FLAGS = --destination=${DEST_PATH}
|
|
BUILD_FLAGS = --trace
|
|
SERVE_FLAGS = -H 0.0.0.0 -P 33002
|
|
|
|
all:
|
|
sg www-data -c "${JEKYLL_CMD} build ${BUILD_FLAGS} ${DEST_DIR_FLAGS}"
|
|
|
|
deploy:
|
|
${JEKYLL_CMD} build ${BUILD_FLAGS} ${DEST_DIR_FLAGS}
|
|
|
|
watch:
|
|
${JEKYLL_CMD} build ${BUILD_FLAGS} ${DEST_DIR_FLAGS} -w
|
|
|
|
serve:
|
|
${JEKYLL_CMD} serve ${SRC_DIR_FLAGS} ${SERVE_FLAGS}
|