runa/mise.toml

31 lines
810 B
TOML
Raw Normal View History

[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.run]
description = "Run the local Runa CLI"
run = "cargo run -p runa"
[tasks.serve]
description = "Run the local JSON-lines protocol server"
run = "cargo run -p runa-server"
[tasks.serve-network]
description = "Run the protocol server on localhost"
run = "cargo run -p runa-server -- --listen 127.0.0.1:3737"
[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" }]