summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFélix Sipma <felix.sipma@no-log.org>2017-03-23 19:48:08 +0100
committerFélix Sipma <felix.sipma@no-log.org>2017-03-23 19:48:08 +0100
commitbdbf77c19eaa3f2932ee716636c3830276e7a457 (patch)
tree69de81b5085f213b3066340c6fbaa2dfe434fc29
parentbd4be624c23a600ba64a9a4423de88d1bee8a6f2 (diff)
add Makefile
-rw-r--r--Makefile12
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)