Add julia support and example

This commit is contained in:
2026-01-30 23:48:20 +01:00
parent 9d3594a483
commit 752433a900
5 changed files with 1121 additions and 4 deletions

View File

@@ -10,12 +10,19 @@ setup:
test:
uv run python main.py
# Run code that generates output
output: ensure-build
julia --project=. main.jl
# Build document and open in zathura
build:
rm main.pdf
typst compile main.typ
zathura main.pdf >/dev/zero 2>&1 & disown
build: output
rm main.pdf || true
typst compile main.typ build/main.pdf
zathura build/main.pdf >/dev/zero 2>&1 & disown
# Format code in place
format:
typstyle -i main.typ
ensure-build:
mkdir -p build