--- version: '3' silent: true vars: compiled_name: cv tasks: lint: - yamllint . # - | # docker run --rm \ # -v $PWD:/input/ \ # --workdir /input \ # --name texlive-{{.compiled_name}} \ # texlive/texlive \ # lacheck document.tex - | docker run --rm \ -v $PWD:/input/ \ --workdir /input \ --name texlive-{{.compiled_name}} \ ljhms/texlive-pygments-chktex \ chktex -n38 -n12 document.tex compile: - | docker run --rm \ -v $PWD:/input/ \ --workdir /input \ --name texlive-{{.compiled_name}} \ texlive/texlive \ xelatex -jobname {{.compiled_name}} document.tex build: # Generating links requires compiling twice. - task: compile - task: compile install: - cp {{.compiled_name}}.pdf ../industry-domain/htdocs/othoulrich-cv.pdf publish: - task: build - task: install xelatex-help: - | docker run --rm \ -v $PWD:/input/ \ --workdir /input \ --name texlive-{{.compiled_name}} \ texlive/texlive xelatex --help upgrade: - docker pull texlive/texlive - docker pull ljhms/texlive-pygments-chktex