Add script to simplify publishing.
authorRicardo Wurmus <rekado@elephly.net>
Fri, 29 Dec 2017 19:30:34 +0000 (20:30 +0100)
committerRicardo Wurmus <rekado@elephly.net>
Fri, 29 Dec 2017 19:30:42 +0000 (20:30 +0100)
web [new file with mode: 0755]

diff --git a/web b/web
new file mode 100755 (executable)
index 0000000..8618a29
--- /dev/null
+++ b/web
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+case $1 in
+    build)   haunt build;;
+    test)    haunt serve -w;;
+    publish) rsync -azvhr site/ elephly.net:~/elephly.net/;;
+    *) echo "use build, test, or publish"
+esac