w23-logic-3/.ci/build_document.sh

14 lines
352 B
Bash
Raw Normal View History

2023-10-13 23:33:24 +02:00
set -e
echo "Building document"
make pdf
mkdir public
mv build/logic3.pdf public
mv build/logic3.log public
cd public/
if ! command -v tree &> /dev/null
then
echo "No tree utility found, skipping making tree"
else
tree -H '.' -I "index.html" -D --charset utf-8 -T "Logic 3: Abstract Topological Dynamics and Descriptive Set Theory" > index.html
fi