Overbodig build script nu
Some checks failed
gitea/real_analysis/pipeline/head There was a failure building this commit
Some checks failed
gitea/real_analysis/pipeline/head There was a failure building this commit
This commit is contained in:
@@ -1,33 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Build all directories
|
||||
subdirectory_file_name=main
|
||||
|
||||
cd assignments
|
||||
|
||||
for D in *; do
|
||||
if [ "${D}" != "template" ] && [ -d "${D}" ]; then
|
||||
echo "Building ${D}..."
|
||||
cd "${D}"
|
||||
pdflatex -interaction=batchmode -halt-on-error "${subdirectory_file_name}.tex"
|
||||
pdflatex -interaction=batchmode -halt-on-error "${subdirectory_file_name}.tex"
|
||||
cd ..
|
||||
fi
|
||||
done
|
||||
|
||||
# Build main PDF
|
||||
main_file_name=main_text
|
||||
|
||||
echo "Building main PDF..."
|
||||
pdflatex -interaction=batchmode -halt-on-error "${main_file_name}.tex"
|
||||
pdflatex -interaction=batchmode -halt-on-error "${main_file_name}.tex"
|
||||
|
||||
# Clean up
|
||||
rm -rf *.aux *.log *.out *.toc
|
||||
for D in *; do
|
||||
if [ "${D}" != "template" ] && [ -d "${D}" ]; then
|
||||
cd "${D}"
|
||||
rm -rf *.aux *.log *.out *.toc
|
||||
cd ..
|
||||
fi
|
||||
done
|
||||
Reference in New Issue
Block a user