chore: improve licensing
This commit is contained in:
@@ -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`"
|
||||
|
||||
Reference in New Issue
Block a user