chore: improve licensing

This commit is contained in:
2026-08-07 11:47:30 -04:00
parent f1288e155e
commit fc63991c39
57 changed files with 404 additions and 14 deletions
+9
View File
@@ -33,6 +33,15 @@ install = "cargo install --path . --locked"
check = { depends-on = ["format", "lint", "tests", "check-docs", "doc-build"] }
build-lean = "cargo build --release --no-default-features"
setup-tools = "cargo install cargo-about --locked --features cli"
licenses = "cargo about generate about.hbs -o THIRD-PARTY-LICENSES.txt"
[tasks.dist]
description = "Assemble a release bundle (binary + license notices) in dist/"
depends-on = ["build", "licenses"]
cmd = "mkdir -p dist && cp target/release/coursebank dist/ && cp LICENSE.md THIRD-PARTY-LICENSES.txt dist/"
[tasks.cb]
cmd = "cargo run --release --quiet --"
description = "Run the CLI, e.g., `pixi run cb validate --course examples/course`"