runa/mise.toml

19 lines
491 B
TOML

[tools]
tombi = "latest"
[tasks.format]
description = "Format TOML and Rust files"
run = ["tombi format --offline", "cargo fmt --all"]
[tasks.test]
description = "Run workspace tests"
run = "cargo test --workspace"
[tasks.lint]
description = "Lint all workspace targets with Clippy"
run = "cargo clippy --workspace --all-targets -- -D warnings"
[tasks.pre-commit]
description = "Format, lint, and test before committing"
run = [{ task = "format" }, { task = "lint" }, { task = "test" }]