From 886bbfa9b08d96b3272c913176df4cd02e0debd3 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 29 Dec 2017 20:30:34 +0100 Subject: Add script to simplify publishing. --- web | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 web 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 -- cgit v1.2.3