1 2 3 4 5 6 7 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