C

cargo-cln

Name Last Update
src Loading commit data...
.gitignore Loading commit data...
Cargo.lock Loading commit data...
Cargo.toml Loading commit data...
LICENSE-APACHE Loading commit data...
LICENSE-MIT Loading commit data...
README.adoc Loading commit data...

cargo-cln

This cargo subcommand allows you to specify additional commands to perform when clean ing your project. It is intended to be used in place of cargo clean.

Config

In your Cargo.toml, add a package.metadata.cln array, with entries for the commands you want to perform when running cargo cln. Like so:

[package.metadata]
cln = [
    ["rm", "-rf", "some_directory_generated_by_build-rs"]
]