s21-algebra-1/.ci/build_document.sh

8 lines
210 B
Bash
Executable file

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