mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-24 05:25:12 +00:00
19 lines
337 B
Bash
19 lines
337 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
echo "compiling Furnace doc..."
|
||
|
|
||
|
if [ ! -e .venv ]; then
|
||
|
python3 -m virtualenv .venv || exit 1
|
||
|
fi
|
||
|
|
||
|
source .venv/bin/activate
|
||
|
|
||
|
if [ ! -e .venv/req_installed ]; then
|
||
|
pip install -r requirements.txt || exit 1
|
||
|
touch .venv/req_installed
|
||
|
fi
|
||
|
|
||
|
python3 make_paper.py > manual.html
|
||
|
|
||
|
weasyprint -O all -dv manual.html manual.pdf
|