Files
cereal/scripts/updatecoverage.sh
2014-03-11 17:23:23 -07:00

19 lines
317 B
Bash
Executable File

#!/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}