Update build script
This commit is contained in:
parent
64c86b6846
commit
6d4cd2e43e
1 changed files with 11 additions and 7 deletions
18
build
18
build
|
@ -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 -;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue