# -*- sh -*- watch(){ # repeatedly serve directory as files change while : do printf '%s\n' *.ul *.ol *.al *.dl ll | ok entr -d -r ok serve $NORUN && break done } build(){ # build the linklog ok ./ll } serve(){ # serve the linklog locally dep build quietly killall cock ok cock } publish(){ # publish to server dep build ok rsync -vzrlD --delete --exclude .git \ ./ hetzner:/var/www/www.acdw.net/lists/ }