From 9c4442a04795ce6ad6b654c612e2f136fcd15b60 Mon Sep 17 00:00:00 2001 From: Felipe Martin Date: Sun, 10 Mar 2019 22:35:30 +0100 Subject: [PATCH] New deploy command --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2a99cb8..7d475f7 100644 --- a/Makefile +++ b/Makefile @@ -7,13 +7,15 @@ dev: build: make dev - lektor build --output-path ./public -f htmlmin + lektor build --prune --output-path ${PWD}/public watch: node_modules/gulp/bin/gulp.js sass:watch deploy: make build + rm -rf ${PWD}/public/.lektor + rsync --progress -avc ${PWD}/public/ ${HOME}/Sites/fmartingr.com/ deploy_tests: bash tests/run.sh