Feat: done

This commit is contained in:
ytshih committed 2025-10-08 19:30:27 +08:00
commit 96982b9ae9
9 files changed
+100

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
.PHONY: all watch clean
SOURCE := $(shell find docs/ -type f -name '*.typ')
TARGET := docs/main.pdf
TYPST_ARGS += --root .
all: $(TARGET)
docs/main.pdf: docs/main.typ $(SOURCE)
typst compile $(TYPST_ARGS) $<
watch:
typst watch --root . docs/main.typ
clean:
-rm docs/main.pdf