maud/upload-docs

21 lines
291 B
Text
Raw Normal View History

2015-01-14 17:33:24 +13:00
#!/bin/sh
set -e
base="$(dirname "$(readlink -f $0)")"
cd "$base/maud_macros"
cargo clean
cargo doc
cd target
git init
trap 'rm -rf .git/' 0
git add doc/
git commit -m 'Update documentation'
git remote add origin git@github.com:lfairy/maud.git
git push --force origin master:gh-pages