Autodocification
This commit is contained in:
parent
4bd68641e1
commit
f328843a02
1 changed files with 20 additions and 0 deletions
20
upload-docs
Executable file
20
upload-docs
Executable file
|
@ -0,0 +1,20 @@
|
|||
#!/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
|
Loading…
Add table
Reference in a new issue