From 2b1dd273b4051dbb1a95eeacb2cd534c964ade31 Mon Sep 17 00:00:00 2001 From: David Allemang Date: Fri, 3 Jul 2026 21:48:03 -0400 Subject: [PATCH] initial --- .gitignore | 6 ++++++ mise.toml | 24 ++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 .gitignore create mode 100644 mise.toml diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..caf0a1d2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +*.pdf +.idea/ + +site/ +main.html +main.pdf diff --git a/mise.toml b/mise.toml new file mode 100644 index 00000000..4724772a --- /dev/null +++ b/mise.toml @@ -0,0 +1,24 @@ +[tools] +tinymist = "0.15.0" +typst = "0.15.0" + +[tasks.watch-bundle] +run = "typst watch main.typ site --format bundle --features bundle,html --port 3000" + +[tasks.watch-html] +run = "typst watch main.typ main.html --format html --features bundle,html --port 3080" + +[tasks.watch-pdf] +run = "typst watch main.typ main.pdf --format pdf --features bundle,html" + +[tasks.bundle] +run = "typst compile main.typ site --format bundle --features bundle,html" + +[tasks.html] +run = "typst compile main.typ main.html --format html --features bundle,html" + +[tasks.pdf] +run = "typst compile main.typ main.pdf --format pdf --features bundle,html" + +[tasks.all] +depends = ["pdf", "html", "bundle"] \ No newline at end of file