Commit c3ec6d81 authored by Thorsten Wißmann's avatar Thorsten Wißmann 🎸
Browse files

Only try to remove tracked pdf files

parent b86b0911
......@@ -25,7 +25,7 @@ compile_latex:
- mapfile -t gitfiles < <(git ls-files)
- mapfile -d $'\0' -t texfiles < <(grep -lZ -d skip --include '*.tex' -E '^[^%]*\\documentclass' "${gitfiles[@]}")
- for t in "${texfiles[@]}" ; do verb "Compiling $t" ; compile_tex "$t" && succeeded+=( "$t" ) || failed+=( "$t" ) ; done
- git ls-files -z | xargs -0 rm -v -f # remove all tracked files such that they are not included in the artifacts
- git ls-files -z | xargs -0 rm -v -f || true # remove all tracked files such that they are not included in the artifacts
# if you want to upload PDFs somewhere else, do something like the following:
#- rsync -rvva *.pdf wissmann@faui8220:/serv/httpd/www8/htdocs/ext/thorsten/test
- echo "The following tex were compiled successfully:" ; printf "%s\n" "${succeeded[@]}"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment