summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2017-12-29 20:30:34 +0100
committerRicardo Wurmus <rekado@elephly.net>2017-12-29 20:30:42 +0100
commit886bbfa9b08d96b3272c913176df4cd02e0debd3 (patch)
treec259aa0506453509441a1f8f82f44a7d25d29bfa
parent6a4de8a3a32f0eaf3a242c1616e6c26f4aefc602 (diff)
Add script to simplify publishing.
-rwxr-xr-xweb8
1 files changed, 8 insertions, 0 deletions
diff --git a/web b/web
new file mode 100755
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