iowo/justfile

6 lines
196 B
Makefile

docs:
for doc in $(fd '.typ' './docs' --exclude 'template*' --exclude 'util*'); do \
typst compile $doc --root=docs; \
mv "$(dirname $doc)/$(basename $doc .typ).pdf" docs/compiled/; \
done