mirror of
https://github.com/NVIDIA/OpenShell.git
synced 2026-10-16 05:20:22 +08:00
62 lines
1.5 KiB
TOML
62 lines
1.5 KiB
TOML
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# CI, build, and quality tasks
|
|
|
|
[build]
|
|
description = "Build the whole project"
|
|
depends = ["build:rust:workspace", "build:docker", "build:python:wheel"]
|
|
|
|
["build:rust"]
|
|
description = "Alias for build:rust:workspace"
|
|
depends = ["build:rust:workspace"]
|
|
hide = true
|
|
|
|
["build:rust:workspace"]
|
|
description = "Build all Rust crates"
|
|
run = "cargo build --workspace"
|
|
hide = true
|
|
|
|
["build:release"]
|
|
description = "Alias for build:rust:workspace:release"
|
|
depends = ["build:rust:workspace:release"]
|
|
hide = true
|
|
|
|
["build:rust:workspace:release"]
|
|
description = "Build all Rust crates in release mode"
|
|
run = "cargo build --workspace --release"
|
|
hide = true
|
|
|
|
[check]
|
|
description = "Run fast compile and type checks"
|
|
depends = ["rust:check", "python:typecheck"]
|
|
hide = true
|
|
|
|
[clean]
|
|
description = "Clean build artifacts"
|
|
run = "cargo clean"
|
|
|
|
[fmt]
|
|
description = "Format Rust and Python code"
|
|
depends = ["rust:format", "python:format"]
|
|
hide = true
|
|
|
|
[lint]
|
|
description = "Run repository lint checks"
|
|
depends = ["license:check", "rust:format:check", "rust:lint", "python:format:check", "python:lint", "helm:lint"]
|
|
hide = true
|
|
|
|
[ci]
|
|
description = "Run full checks (lint, compile/type checks, and tests)"
|
|
depends = ["lint", "check", "test"]
|
|
|
|
[all]
|
|
description = "Alias for ci"
|
|
depends = ["ci"]
|
|
hide = true
|
|
|
|
["pre-commit"]
|
|
description = "Alias for ci"
|
|
depends = ["ci"]
|
|
hide = true
|