mirror of
https://github.com/cs341-illinois/coursebook.git
synced 2026-10-02 08:04:38 +08:00
17 lines
237 B
Bash
17 lines
237 B
Bash
#!/bin/bash
|
|
|
|
set -o errexit;
|
|
|
|
if test $BUILD_FOCUS = "WIKI"
|
|
then
|
|
echo "Generating Wiki"
|
|
mkdir -p _wiki
|
|
python3 _scripts/gen_wiki.py order.yaml _wiki
|
|
elif test $BUILD_FOCUS = "EPUB"
|
|
then
|
|
make epub;
|
|
else
|
|
make pdf;
|
|
fi;
|
|
|