mirror of
https://asciireactor.com/otho/industry-cv.git
synced 2024-12-03 17:55:07 +00:00
62 lines
1.9 KiB
YAML
62 lines
1.9 KiB
YAML
---
|
|
version: '3'
|
|
|
|
silent: true
|
|
|
|
vars:
|
|
compiled_name: cv
|
|
document_name: cv.tex
|
|
|
|
tasks:
|
|
lint:
|
|
- yamllint .
|
|
# - |
|
|
# docker run --rm \
|
|
# -v $PWD:/input/ \
|
|
# --workdir /input \
|
|
# --name texlive-{{.compiled_name}} \
|
|
# texlive/texlive \
|
|
# lacheck {{.document_name}}
|
|
- |
|
|
docker run --rm \
|
|
-v $PWD:/input/ \
|
|
--workdir /input \
|
|
--name texlive-{{.compiled_name}} \
|
|
ljhms/texlive-pygments-chktex \
|
|
chktex -n38 -n12 {{.document_name}}
|
|
compile:
|
|
- |
|
|
docker run --rm \
|
|
-v $PWD:/input/ \
|
|
--workdir /input \
|
|
--name texlive-{{.compiled_name}} \
|
|
texlive/texlive \
|
|
xelatex -jobname {{.compiled_name}} {{.document_name}}
|
|
build:
|
|
# Generating links requires compiling twice.
|
|
- task: compile
|
|
- task: compile
|
|
install:
|
|
- cp {{.compiled_name}}.pdf ../industry-website/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
|
|
compile-resume:
|
|
- task: compile
|
|
vars:
|
|
compiled_name: resume
|
|
document_name: resume.tex
|
|
build-resume:
|
|
- task: compile-resume
|
|
- task: compile-resume
|