mirror of
https://github.com/NVIDIA/OpenShell.git
synced 2026-10-27 07:03:17 +08:00
30 lines
670 B
TOML
30 lines
670 B
TOML
# Rust build, check, lint, and format tasks
|
|
|
|
[build]
|
|
description = "Build all Rust crates"
|
|
run = "cargo build --workspace"
|
|
|
|
["build:release"]
|
|
description = "Build all Rust crates in release mode"
|
|
run = "cargo build --workspace --release"
|
|
|
|
[check]
|
|
description = "Check all Rust crates for errors"
|
|
run = "cargo check --workspace"
|
|
|
|
["rust:lint"]
|
|
description = "Lint Rust code with Clippy"
|
|
run = "cargo clippy --workspace --all-targets"
|
|
|
|
["rust:format"]
|
|
description = "Format Rust code"
|
|
run = "cargo fmt --all"
|
|
|
|
["rust:format:check"]
|
|
description = "Check Rust formatting"
|
|
run = "cargo fmt --all -- --check"
|
|
|
|
[clean]
|
|
description = "Clean build artifacts"
|
|
run = "cargo clean"
|