forked from klausuren/klausuren-allgemein
Add build_all.sh for gitlab-ci.yml
This commit is contained in:
parent
a63cf8f019
commit
6b4bf35e84
@ -6,7 +6,7 @@ image: blang/latex
|
|||||||
|
|
||||||
build:
|
build:
|
||||||
script:
|
script:
|
||||||
- latexmk -pdf
|
- bash build_all.sh
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- "*.pdf"
|
- "build/*.pdf"
|
||||||
|
|||||||
9
build_all.sh
Executable file
9
build_all.sh
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
mkdir -p output
|
||||||
|
find ./* -maxdepth 1 -mindepth 1 -type f -name "*.tex" \
|
||||||
|
-not -name "settings.tex" \
|
||||||
|
-not -name "SSxx Klausurvorlage.tex" \
|
||||||
|
-not -name "klausuren-Settings-utf8.tex" \
|
||||||
|
-print0 | \
|
||||||
|
xargs -0 -P 4 -I [] bash -c 'cd "$(dirname "[]")"; latexmk -pdf -outdir=../output "$(basename "[]")";'
|
||||||
Loading…
x
Reference in New Issue
Block a user