2023-03-20 04:34:15 +00:00
|
|
|
---
|
2022-07-11 04:12:19 +00:00
|
|
|
version: '3'
|
|
|
|
|
|
|
|
silent: true
|
|
|
|
|
|
|
|
vars:
|
|
|
|
compiled_name: cv
|
2024-02-07 05:42:30 +00:00
|
|
|
document_name: cv.tex
|
2022-07-11 04:12:19 +00:00
|
|
|
|
|
|
|
tasks:
|
2023-03-20 04:34:15 +00:00
|
|
|
lint:
|
|
|
|
- yamllint .
|
|
|
|
# - |
|
|
|
|
# docker run --rm \
|
|
|
|
# -v $PWD:/input/ \
|
|
|
|
# --workdir /input \
|
|
|
|
# --name texlive-{{.compiled_name}} \
|
|
|
|
# texlive/texlive \
|
2024-02-07 05:42:30 +00:00
|
|
|
# lacheck {{.document_name}}
|
2023-03-20 04:34:15 +00:00
|
|
|
- |
|
|
|
|
docker run --rm \
|
|
|
|
-v $PWD:/input/ \
|
|
|
|
--workdir /input \
|
|
|
|
--name texlive-{{.compiled_name}} \
|
|
|
|
ljhms/texlive-pygments-chktex \
|
2024-02-07 05:42:30 +00:00
|
|
|
chktex -n38 -n12 {{.document_name}}
|
2022-07-11 04:12:19 +00:00
|
|
|
compile:
|
2023-03-20 04:34:15 +00:00
|
|
|
- |
|
|
|
|
docker run --rm \
|
|
|
|
-v $PWD:/input/ \
|
|
|
|
--workdir /input \
|
|
|
|
--name texlive-{{.compiled_name}} \
|
|
|
|
texlive/texlive \
|
2024-02-07 05:42:30 +00:00
|
|
|
xelatex -jobname {{.compiled_name}} {{.document_name}}
|
2023-03-20 04:34:15 +00:00
|
|
|
build:
|
2022-07-11 04:12:19 +00:00
|
|
|
# Generating links requires compiling twice.
|
2023-03-20 04:34:15 +00:00
|
|
|
- task: compile
|
|
|
|
- task: compile
|
2022-07-11 04:12:19 +00:00
|
|
|
install:
|
2023-09-22 04:18:44 +00:00
|
|
|
- cp {{.compiled_name}}.pdf ../industry-website/htdocs/othoulrich-cv.pdf
|
2022-07-11 04:12:19 +00:00
|
|
|
publish:
|
2023-03-20 04:34:15 +00:00
|
|
|
- task: build
|
2022-07-11 04:12:19 +00:00
|
|
|
- task: install
|
|
|
|
xelatex-help:
|
2023-03-20 04:34:15 +00:00
|
|
|
- |
|
|
|
|
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
|
2024-02-07 05:42:30 +00:00
|
|
|
compile-resume:
|
|
|
|
- task: compile
|
|
|
|
vars:
|
|
|
|
compiled_name: resume
|
|
|
|
document_name: resume.tex
|
|
|
|
build-resume:
|
|
|
|
- task: compile-resume
|
|
|
|
- task: compile-resume
|