mirror of
https://github.com/USCiLab/cereal.git
synced 2025-10-18 01:45:52 +02:00
Added update-doc target
This commit is contained in:
18
scripts/updatecoverage.sh
Executable file
18
scripts/updatecoverage.sh
Executable 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}
|
||||
Reference in New Issue
Block a user