Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Informatik 8
TexCommon
Commits
c3ec6d81
Commit
c3ec6d81
authored
May 31, 2019
by
Thorsten Wißmann
🎸
Browse files
Only try to remove tracked pdf files
parent
b86b0911
Changes
1
Show whitespace changes
Inline
Side-by-side
gitlab-ci/latex.yml
View file @
c3ec6d81
...
...
@@ -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[@]}"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment