Init: w9 code done

This commit is contained in:
2025-11-06 04:32:40 +08:00
commit 096a026916
4 changed files with 382 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