diff --git a/Jenkinsfile b/Jenkinsfile index 61e4782..3ae65af 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -19,7 +19,7 @@ pipeline { sh "#!/bin/bash \n" + '''export TYPST_INSTALL="/home/jenkins/.typst"\n''' + '''export PATH="$TYPST_INSTALL/bin:$PATH"\n''' + - '''./render.sh''' + '''make build''' } } // stage('Deploy') { diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..0f3de3e --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +.PHONY: clean compile build + +NAME := Felix +SURNAME := Desmaretz + +clean: + rm -f out/* + +compile: + mkdir -p out + typst compile --font-path fonts cv_en.typ && mv cv_en.pdf "out/Resume_${SURNAME}_${NAME}.pdf" + typst compile --font-path fonts cv_fr.typ && mv cv_fr.pdf "out/CV_${SURNAME}_${NAME}.pdf" + +build: clean compile \ No newline at end of file diff --git a/README.md b/README.md index 813b47b..9345aff 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ ## Usage -To compile, run `./render.sh` +To compile, run `./render.sh` or `make build` To modify the content, see `data/` directory. diff --git a/data/skills.yaml b/data/skills.yaml index 9dbffd2..c75555f 100644 --- a/data/skills.yaml +++ b/data/skills.yaml @@ -79,6 +79,10 @@ content: - Apache Hive - SAP IQ - SAP ASE + - title: Networking + content: + - OPNSense + - Caddy - title: fr: Frameworks Web en: Web Frameworks