industry-cv/Taskfile.yaml
2023-01-01 00:27:14 -05:00

20 lines
704 B
YAML

version: '3'
silent: true
vars:
compiled_name: cv
tasks:
compile:
# Generating links requires compiling twice.
- docker run --rm -v $PWD:/input/ --workdir /input --name texlive-{{.compiled_name}} texlive/texlive xelatex -jobname {{.compiled_name}} document.tex
- docker run --rm -v $PWD:/input/ --workdir /input --name texlive-{{.compiled_name}} texlive/texlive xelatex -jobname {{.compiled_name}} document.tex
install:
- cp {{.compiled_name}}.pdf ../industry-domain/htdocs/othoulrich-cv.pdf
publish:
- task: compile
- task: install
xelatex-help:
- docker run --rm -v $PWD:/input/ --workdir /input --name texlive-{{.compiled_name}} texlive/texlive xelatex --help