Add tooling for building in nix
This commit is contained in:
parent
15bc2ce891
commit
5af074f19e
2
build.sh
2
build.sh
|
@ -12,7 +12,7 @@ mkdir -p public
|
|||
cp index.html photo.jpg resume.yml resume.json public
|
||||
npx resume export public/resume.html --theme $theme
|
||||
if [[ -z $flag || $flag != "--no-pdf" ]]; then
|
||||
npx resume export public/resume.pdf --theme $theme
|
||||
puppeteer print public/resume.html public/resume.pdf
|
||||
fi
|
||||
rm resume.json
|
||||
|
||||
|
|
Loading…
Reference in New Issue