Skip to content
1        10        20        30        40        50        60        70        801[tools]2zig = "0.17.0"34[env]5# Put the built binary (and a user install) on PATH for every mise-activated6# shell and task, so `mise run install` is immediately usable as plain `any`.7_.path = ["{{config_root}}/zig-out/bin", "~/.local/bin"]89[tasks.fmt]10description = "Format the source tree"11run = "zig fmt build.zig src"1213[tasks.fmt-check]14description = "Check formatting without changing files"15run = "zig fmt --check build.zig src"1617[tasks.build]18description = "Build the any binary"19run = "zig build"2021[tasks.test]22description = "Run every test"23run = "zig build test"2425[tasks.lint]26description = "Build with runtime safety checks and optimizations"27run = "zig build -Doptimize=ReleaseSafe"2829[tasks.check]30description = "Everything CI runs: format, build, test"31depends = ["fmt-check", "build", "test"]3233[tasks.run]34description = "Run any (pass args after --)"35run = "zig build run --"3637[tasks.install]38description = "Build and install the any binary into ~/.local/bin (on the mise PATH)"39depends = ["build"]40run = "install -Dm755 zig-out/bin/any \"$HOME/.local/bin/any\""