lecture-notes/ci/build_document.sh

8 lines
198 B
Bash
Executable file

set -e
echo "Building document"
make pdf
mkdir public
mv build/$mainfile.pdf public
mv build/$mainfile.log public
cd public/
tree -H '.' -I "index.html" -D --charset utf-8 -T "$course" > index.html