fmartingr.com/Makefile
2019-10-07 18:15:44 +02:00

23 lines
469 B
Makefile

setup:
python3 -m venv .venv
source .venv/bin/activate && pip install -r requirements.txt
npm install
dev:
node_modules/gulp/bin/gulp.js sass
node_modules/gulp/bin/gulp.js js
build:
make dev
lektor build --prune --output-path ${PWD}/public
watch:
node_modules/gulp/bin/gulp.js sass:watch
deploy:
make build
rm -rf ${PWD}/public/.lektor
rclone sync --progress --create-empty-src-dirs ${PWD}/public fastmail:fmartingr.com
deploy_tests:
bash tests/run.sh