docs/publish.sh @ afba81586593

Added argument parsing to d

d takes two optional arguments to pass in the source and target directories. The bin/dc
executable has been removed.
author Mattijs Hoitink <mattijs@monkeyandmachine.com>
date Tue, 14 Feb 2012 19:17:30 +0100
parents a8d51959358b
children 895de4f8db57
#!/usr/bin/env bash

rm -rf ./build
~/lib/virtualenvs/d/bin/python ../bin/d
hg -R ~/src/sjl.bitbucket.org pull -u
rsync --delete -a ./build/ ~/src/sjl.bitbucket.org/d
hg -R ~/src/sjl.bitbucket.org commit -Am 'd: Update site.'
hg -R ~/src/sjl.bitbucket.org push