diff options
| author | Kumar Damani <me@kumardamani.net> | 2026-07-24 04:29:08 +0000 |
|---|---|---|
| committer | Kumar Damani <me@kumardamani.net> | 2026-07-24 04:29:08 +0000 |
| commit | 3d615f7b4c19abf34f23ff09ea587a597f2de42a (patch) | |
| tree | 10a0e4c3e0fa2c9b0254bb1826ae89f67fbc7df0 /build.sh | |
| parent | 62fcd12a0a1ea557334dec1fa0cfdce69d003bd8 (diff) | |
converted to typst
Diffstat (limited to 'build.sh')
| -rwxr-xr-x | build.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..7fb4bed --- /dev/null +++ b/build.sh @@ -0,0 +1,13 @@ +#!/bin/sh +# Build kumardamani.net into ./build using Typst's bundle export. +# +# Usage: ./build.sh [output-dir] (default output dir: build) +set -e + +cd "$(dirname "$0")" +out=${1:-build} + +rm -rf "$out" +typst compile --root . --features bundle,html -f bundle main.typ "$out" + +echo "Built site in $out/" |
