docs/publish.sh @ b3fb6bc34867

Reuse resource variable
author Mattijs Hoitink <mattijs@monkeyandmachine.com>
date Mon, 06 Feb 2012 16:03:29 +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