cursive/update_doc.sh
2016-06-25 13:51:48 -07:00

11 lines
178 B
Bash
Executable File

set -e
cargo doc
FROM=$(git rev-parse --short HEAD)
git checkout gh-pages
rsync -a target/doc/ .
git add .
git commit -m "Update doc for ${FROM}"
# git push
git checkout master