mirror of
https://github.com/USCiLab/cereal.git
synced 2025-07-21 08:12:02 +02:00
19 lines
317 B
Bash
Executable File
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}
|