23 lines
569 B
TOML
23 lines
569 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.run]
|
|
description = "Run the local Runa CLI"
|
|
run = "cargo run -p runa"
|
|
|
|
[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" }]
|