Skip to content

Execute cargo clean for all cargo projects in the directory.

License

Notifications You must be signed in to change notification settings

bestgopher/cargo-rclean

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cargo-rclean

Execute cargo clean for all cargo projects in the directory.

install

➜ cargo install --git https://github.com/bestgopher/cargo-rclean

usage

➜ cargo rclean

Examples

There are three cargo projects in current working directory:

➜ tree -L 2
.
├── rclean_test_1
│   ├── Cargo.lock
│   ├── Cargo.toml
│   ├── src
│   └── target
├── rclean_test_2
│   ├── Cargo.lock
│   ├── Cargo.toml
│   ├── src
│   └── target
└── rclean_test_3
    ├── Cargo.lock
    ├── Cargo.toml
    ├── src
    └── target

Then I execute: cargo rclean :

➜ tree -L 2   
.
├── rclean_test_1
│   ├── Cargo.lock
│   ├── Cargo.toml
│   └── src
├── rclean_test_2
│   ├── Cargo.lock
│   ├── Cargo.toml
│   └── src
└── rclean_test_3
    ├── Cargo.lock
    ├── Cargo.toml
    └── src

All targets have been removed.

About

Execute cargo clean for all cargo projects in the directory.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages