mirror of
https://github.com/USCiLab/cereal.git
synced 2025-07-21 07:52:01 +02:00
21 lines
320 B
Bash
Executable File
21 lines
320 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Updates the doxygen documentation, and copies it into the appropriate place
|
|
# in the gh-pages branch.
|
|
|
|
set -e
|
|
|
|
tempdir=`mktemp -d`
|
|
|
|
make doc
|
|
|
|
cp -r ./doc/html/ ${tempdir}
|
|
|
|
git checkout gh-pages
|
|
|
|
rm -rf assets/doxygen
|
|
mkdir assets/doxygen
|
|
cp -r ${tempdir}/html/* assets/doxygen/
|
|
|
|
rm -rf ${tempdir}
|