| Crates.io | cargo-wipe |
| lib.rs | cargo-wipe |
| version | 0.3.3 |
| created_at | 2020-05-16 10:47:09.243447+00 |
| updated_at | 2022-08-22 17:54:10.245273+00 |
| description | recursively wipe target and node_modules folders |
| homepage | |
| repository | https://github.com/mihai-dinculescu/cargo-wipe |
| max_upload_size | |
| id | 242319 |
| size | 122,690 |
Cargo subcommand that recursively finds and optionally wipes all "target" or "node_modules" folders that are found in the current path.
The Rust toolchain is a prerequisite.
cargo install cargo-wipe
cargo wipe --help
To find build folders for <language> that can potentially be deleted run
cargo wipe <language>
where <language> is rust or node. For example:
cargo wipe rust
This will run in dry-run mode and just print the list of directories to delete. To actually delete them run it again with the -w flag.
cargo wipe rust -w
Directories are found according to the following logic:
rust: all directories called target containing a file called .rustc_info.json.node: all directories called node_modules.You can use the -i <path> argument to ignore certain paths.
Contributions are welcome and encouraged! See /issues for ideas, or suggest your own! If you're thinking to create a PR with large feature/change, please first discuss it in an issue.
cargo make ci-flow
Update version in Cargo.toml
Update CHANGELOG.md
Commit
Add tag
git tag -a vX.X.X
Push
git push --follow-tags
Release
Create a new release.
publish.yml GitHub Action will pick it up and do the actual release to crates.io.