1
0
Fork 0
guix-typst-template/Justfile

15 lines
648 B
Plaintext

default:
guix time-machine --channels=./channels.scm.lock -- shell --container --emulate-fhs --manifest=./manifest.scm -- sh -c "mkdir -p ./out && typst compile ./src/document.typ ./out/document.pdf --font-path=/usr/share/fonts"
fonts:
guix time-machine --channels=./channels.scm.lock -- shell --container --emulate-fhs --manifest=./manifest.scm -- typst fonts --font-path=/usr/share/fonts
dev:
guix time-machine --channels=./channels.scm.lock -- shell --manifest=./manifest.scm
update:
guix time-machine --channels=./channels.scm -- describe --format=channels > ./channels.scm.lock
run: default
xdg-open ./out/document.pdf