π§Ή rs_clean β Clean Build Targets for Rust, Go, Gradle, and Maven
β‘ Easily remove compiled build artifacts from Rust, Go, Gradle, and Maven projects with a single command.
π Looking for Chinese docs? View δΈζθ―΄ζ π¨π³
π Quick Start
This command recursively removes build directories in the specified folder and its subdirectories.
π¦ Installation
Option 1: Install via Cargo
Option 2: Download from Releases
π Download from GitHub Releases Grab the latest binary for your operating system.
β¨ Features
- β
Cleans Rust projects:
target/ - β Cleans Go build output
- β
Cleans Gradle projects:
build/ - β
Cleans Maven projects:
target/ - β Recursively scans subdirectories
- β Automatically detects project type
π Example Structure
After running:
The build artifacts will be cleaned:
π‘ Use Cases
- Free up disk space by removing large build folders.
- Ensure a clean build environment in CI/CD pipelines.
- Clean multiple types of projects in monorepos.
π Roadmap
- Support Node.js projects (
node_modules/) - Show disk space saved after cleanup
- Add interactive confirmation prompts
π€ Contributing
We welcome contributions and feedback!
- Open an issue for bugs or suggestions
- Submit a pull request for enhancements
- Star β the repo if you find it helpful
π License
MIT License Β© 2025 [coderpwh]