Added update-doc target

This commit is contained in:
Shane Grant
2014-03-11 17:23:23 -07:00
parent a6e144a5a2
commit 43855f2e5c
5 changed files with 1928 additions and 4 deletions

18
scripts/updatecoverage.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/usr/bin/env bash
# Updates the coverage documentation, and copies it into the appropriate place
# in the gh-pages branch.
set -e
tempdir=`mktemp -d`
make coverage COVERAGE_OUTPUT=${tempdir}/coverage
git checkout gh-pages
rm -rf assets/coverage
cp -r ${tempdir}/coverage* assets/coverage/
rm -rf ${tempdir}