2026-11-01 19:28:32 +00:00
|
|
|
[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"
|
|
|
|
|
|
2026-11-02 09:24:43 +00:00
|
|
|
[tasks.run]
|
|
|
|
|
description = "Run the local Runa CLI"
|
|
|
|
|
run = "cargo run -p runa"
|
|
|
|
|
|
2026-11-02 13:18:45 +00:00
|
|
|
[tasks.serve]
|
|
|
|
|
description = "Run the local JSON-lines protocol server"
|
|
|
|
|
run = "cargo run -p runa-server"
|
|
|
|
|
|
2026-11-02 13:50:30 +00:00
|
|
|
[tasks.serve-network]
|
|
|
|
|
description = "Run the protocol server on localhost"
|
|
|
|
|
run = "cargo run -p runa-server -- --listen 127.0.0.1:3737"
|
|
|
|
|
|
2026-11-01 19:28:32 +00:00
|
|
|
[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" }]
|