Feat: done

This commit is contained in:
2025-10-08 19:24:13 +08:00
commit 96982b9ae9
9 changed files with 100 additions and 0 deletions

16
Makefile Normal file
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