iowo/justfile

6 lines
195 B
Makefile
Raw Normal View History

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