set -e for compilation script
All checks were successful
Build LaTeX packages / build (push) Successful in 1m50s

This commit is contained in:
Maximilian Keßler 2023-10-19 02:49:26 +02:00
parent 34f0a41699
commit 72cc9d78b0
Signed by: max
GPG key ID: BCC5A619923C0BA5

View file

@ -1,5 +1,8 @@
#! /bin/bash #! /bin/bash
# Compiles all documentation files in repository # Compiles all documentation files in repository
set -e
BUILD_COMMAND="latexmk -output-directory=$(pwd)/.compile $1" BUILD_COMMAND="latexmk -output-directory=$(pwd)/.compile $1"
find doc -type f -name "*.tex" -execdir sh -c "$BUILD_COMMAND" -- {} \; find doc -type f -name "*.tex" -execdir sh -c "$BUILD_COMMAND" -- {} \;