industry-cv/Taskfile.yaml

20 lines
692 B
YAML
Raw Normal View History

2022-07-11 04:12:19 +00:00
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:
2022-07-11 04:22:40 +00:00
- cp {{.compiled_name}}.pdf ../app/htdocs/othoulrich-cv.pdf
2022-07-11 04:12:19 +00:00
publish:
- task: compile
- task: install
xelatex-help:
- docker run --rm -v $PWD:/input/ --workdir /input --name texlive-{{.compiled_name}} texlive/texlive xelatex --help