Add makefile
parent
f27f0d0792
commit
cac2adca3e
|
|
@ -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') {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
|
|
@ -79,6 +79,10 @@ content:
|
|||
- Apache Hive
|
||||
- SAP IQ
|
||||
- SAP ASE
|
||||
- title: Networking
|
||||
content:
|
||||
- OPNSense
|
||||
- Caddy
|
||||
- title:
|
||||
fr: Frameworks Web
|
||||
en: Web Frameworks
|
||||
|
|
|
|||
Loading…
Reference in New Issue