Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
Dominik Becker
LaTex Boilerplate
Commits
861d5518
Commit
861d5518
authored
May 24, 2020
by
Dominik Becker
Browse files
#39
added config files for Azure DevOps
parent
ae4c132d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
65 additions
and
0 deletions
+65
-0
latex.azure-pipelines.yml
latex.azure-pipelines.yml
+32
-0
markdown.azure-pipelines.yml
markdown.azure-pipelines.yml
+33
-0
No files found.
latex.azure-pipelines.yml
0 → 100644
View file @
861d5518
pool
:
vmImage
:
'
ubuntu-latest'
stages
:
-
stage
:
spellcheck
jobs
:
-
job
:
spellcheck_chapters
container
:
fastexitlane/hunspell:latest
continueOnError
:
true
steps
:
-
script
:
export HUNSPELL_FINDINGS=`for filename in chapter/*.tex; do hunspell -l -d de_DE_frami,en_US -p ./.hunspellignore -t $filename; done | sort | uniq`
-
script
:
echo $HUNSPELL_FINDINGS
-
script
:
test "$HUNSPELL_FINDINGS" == ""
-
job
:
spellcheck_appendix
container
:
fastexitlane/hunspell:latest
continueOnError
:
true
steps
:
-
script
:
export HUNSPELL_FINDINGS=`for filename in appendix/*.tex; do hunspell -l -d de_DE_frami,en_US -p ./.hunspellignore -t $filename; done | sort | uniq`
-
script
:
echo $HUNSPELL_FINDINGS
-
script
:
test "$HUNSPELL_FINDINGS" == ""
-
stage
:
build
jobs
:
-
job
:
latexmk
container
:
fastexitlane/pandoc-latex:latest
steps
:
-
script
:
latexmk main.tex
displayName
:
Execute LaTex Build
-
task
:
PublishBuildArtifacts@1
inputs
:
ArtifactName
:
main.pdf
PathtoPublish
:
./main.pdf
\ No newline at end of file
markdown.azure-pipelines.yml
0 → 100644
View file @
861d5518
pool
:
vmImage
:
'
ubuntu-latest'
stages
:
-
stage
:
spellcheck
jobs
:
-
job
:
spellcheck_chapters
container
:
fastexitlane/hunspell:latest
continueOnError
:
true
steps
:
-
script
:
export HUNSPELL_FINDINGS=`for filename in chapter/*.md; do hunspell -l -d de_DE_frami,en_US -p ./.hunspellignore $filename; done | sort | uniq`
-
script
:
echo $HUNSPELL_FINDINGS
-
script
:
test "$HUNSPELL_FINDINGS" == ""
-
job
:
spellcheck_appendix
container
:
fastexitlane/hunspell:latest
continueOnError
:
true
steps
:
-
script
:
export HUNSPELL_FINDINGS=`for filename in appendix/*.tex; do hunspell -l -d de_DE_frami,en_US -p ./.hunspellignore -t $filename; done | sort | uniq`
-
script
:
echo $HUNSPELL_FINDINGS
-
script
:
test "$HUNSPELL_FINDINGS" == ""
-
stage
:
build
jobs
:
-
job
:
pandoc_latexmk
steps
:
-
script
:
pandoc --filter pandoc-crossref --filter pandoc-citeproc -M cref=true --top-level-division=chapter --bibliography library/library.bib --biblatex -o chapter/out.tex chapter/*.md
displayName
:
Convert Markdown Files to LaTex
-
script
:
latexmk main.tex
displayName
:
Execute LaTex Build
-
task
:
PublishBuildArtifacts@1
inputs
:
ArtifactName
:
main.pdf
PathtoPublish
:
./main.pdf
\ No newline at end of file
Write
Preview
Markdown
is supported
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