mirror of
https://github.com/NVIDIA/OpenShell.git
synced 2026-10-24 06:34:33 +08:00
Add Apache 2.0 licensing, SPDX copyright headers on all source files, DCO enforcement, third-party notices, and CI enforcement. - LICENSE: Apache License 2.0 full text - DCO: Developer Certificate of Origin 1.1 - SPDX headers on all 176 source files (.rs, .py, .proto, .rego, .sh, .toml, .yaml, Dockerfiles) - scripts/update_license_headers.py: header management with --check mode - scripts/generate_third_party_notices.py: dependency license aggregation - THIRD-PARTY-NOTICES: generated listing of all Rust and Python deps - build/license.toml: mise tasks for license:check and license:update - CI: license-headers job in checks.yml, DCO check workflow - CONTRIBUTING.md: DCO sign-off requirement and license header docs - Cargo.toml: license changed to Apache-2.0, repository URL updated - pyproject.toml: license field added Closes #58
33 lines
813 B
TOML
33 lines
813 B
TOML
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# 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"
|