iowo/justfile

5 lines
195 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