LINE1 10 20 30 40 50 60 70 80 901# Tools and tasks for Totenschloss. Run `mise install` once, then `mise run <task>`.23# Loads local settings such as INFERENCE_API_KEY from .env (git-ignored).4[env]5_.file = ".env"67[tools]8zig = "0.14.1"910[hooks]11# Fetches the DuckDB static archives and libstdc++ into vendor/duckdb/ after `mise install`.12# The script is idempotent: it exits early when the files are already present.13postinstall = "./scripts/fetch-duckdb.sh"1415[tasks.fetch-duckdb]16description = "Download the DuckDB static archives into vendor/duckdb/"17run = "./scripts/fetch-duckdb.sh"1819[tasks.build]20description = "Build the server (ReleaseSafe)"21depends = ["fetch-duckdb"]22run = "zig build -Doptimize=ReleaseSafe"2324[tasks.test]25description = "Run unit tests"26depends = ["fetch-duckdb"]27run = "zig build test"2829[tasks.run]30description = "Run the server on PORT (default 8080)"31depends = ["fetch-duckdb"]32run = "zig build run"3334[tasks.docker]35description = "Build the Docker image"36run = "docker build -t totenschloss ."