From cb21a242bee4a6339beee25ba86fa018daa226e2 Mon Sep 17 00:00:00 2001 From: Ainsley Ellis Date: Sat, 31 May 2025 07:29:34 -0400 Subject: [PATCH] Add build script --- scripts/build.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 scripts/build.sh diff --git a/scripts/build.sh b/scripts/build.sh new file mode 100644 index 0000000..d6ffebf --- /dev/null +++ b/scripts/build.sh @@ -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