diff options
author | Félix Sipma <felix.sipma@no-log.org> | 2017-03-23 19:48:08 +0100 |
---|---|---|
committer | Félix Sipma <felix.sipma@no-log.org> | 2017-03-23 19:48:08 +0100 |
commit | bdbf77c19eaa3f2932ee716636c3830276e7a457 (patch) | |
tree | 69de81b5085f213b3066340c6fbaa2dfe434fc29 | |
parent | bd4be624c23a600ba64a9a4423de88d1bee8a6f2 (diff) |
add Makefile
-rw-r--r-- | Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..df2d599 --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +RSYNC=rsync -aP --delete +SSHDEST=boudin +WWW=/var/www/gueux.org + +.PHONY: build +build: + stack build + stack exec -- site rebuild +watch: + dist/build/site/site watch +push: + $(RSYNC) _site/ $(SSHDEST):$(WWW) |