repo: make typst compilation more generic
This commit is contained in:
parent
27eee3c0a8
commit
d66b03baee
2 changed files with 6 additions and 2 deletions
1
docs/compiled/.gitkeep
Normal file
1
docs/compiled/.gitkeep
Normal file
|
@ -0,0 +1 @@
|
||||||
|
the just script will place compiled pdfs in here. thank you for your understanding.
|
7
justfile
7
justfile
|
@ -1,2 +1,5 @@
|
||||||
doc-design:
|
docs:
|
||||||
typst compile docs/design/*.typ --root=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
|
||||||
|
|
Loading…
Reference in a new issue