Update build script

This commit is contained in:
Starbeamrainbowlabs 2019-05-03 13:58:51 +01:00
parent 64c86b6846
commit 6d4cd2e43e
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

18
build
View file

@ -94,16 +94,20 @@ _render-latex-pdf() {
task_begin "Building Report"; task_begin "Building Report";
set -e; set -e;
pdflatex --output-directory=. "${latex_filename}"; execute pdflatex --output-directory=. "${latex_filename}";
bibtex "${latex_filename%.*}"; execute bibtex "${latex_filename%.*}";
pdflatex --output-directory=. "${latex_filename}"; execute pdflatex --output-directory=. "${latex_filename}";
pdflatex --output-directory=. "${latex_filename}"; execute pdflatex --output-directory=. "${latex_filename}";
bibtex "${latex_filename%.*}"; execute bibtex "${latex_filename%.*}";
pdflatex --output-directory=. "${latex_filename}"; execute pdflatex --output-directory=. "${latex_filename}";
pdflatex --output-directory=. "${latex_filename}"; execute pdflatex --output-directory=. "${latex_filename}";
set +e; set +e;
task_end $? "Error: Failed to build report"; task_end $? "Error: Failed to build report";
task_begin "Moving report";
execute mv *.pdf ..;
task_end $? "Failed to move report";
cd -; cd -;
} }