Browse Source

Update build script

master
Starbeamrainbowlabs 3 years ago
parent
commit
6d4cd2e43e
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
  1. 18
      build

18
build

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

Loading…
Cancel
Save