docs/publish.sh @ 54c639244dda

Added SOURCE_LOC

With both BUILD_LOC and SOURCE_LOC exposed d can be imported into other
projects and configured to perform it's magic. SOURCE_LOC defaults to '.'
as to not break default behaviour.
author Mattijs Hoitink <mattijs@monkeyandmachine.com>
date Mon, 06 Feb 2012 15:24:53 +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