1
0
Fork 0

Add build script

main
Ainsley Ellis 2025-05-31 07:29:34 -04:00
parent 4852f100a3
commit cb21a242be
1 changed files with 7 additions and 0 deletions

7
scripts/build.sh Normal file
View File

@ -0,0 +1,7 @@
#!/bin/sh
hash="$(git rev-parse HEAD)"
mkdir -p ../dist
xsltproc --stringparam hash "$hash" ./templates/cv.xsl ./cvs/web-development.xml > ./dist/cv.html
weasyprint --quiet ./dist/cv.html ./dist/cv.pdf