diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2017-12-29 20:30:34 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2017-12-29 20:30:42 +0100 |
commit | 886bbfa9b08d96b3272c913176df4cd02e0debd3 (patch) | |
tree | c259aa0506453509441a1f8f82f44a7d25d29bfa /web | |
parent | 6a4de8a3a32f0eaf3a242c1616e6c26f4aefc602 (diff) |
Add script to simplify publishing.
Diffstat (limited to 'web')
-rwxr-xr-x | web | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 |