Skip to content

h2cone/buildbroom

Repository files navigation

buildbroom

buildbroom is a small Go CLI that finds and removes common build artifacts from polyglot project trees.

Features

  • Scans a workspace for recognizable project roots before cleaning.
  • Runs in preview mode by default so you can inspect matches safely.
  • Supports explicit apply mode, discovery depth, concurrency, and verbose target output.
  • Recognizes common stacks including Go, Node.js, Python, Rust, CMake, Make, .NET, Gradle, Maven, Deno, PHP, Ruby, Elixir, Erlang, Flutter, Zig, and Godot.

Installation

Download the latest release from GitHub Releases. Release assets follow the naming scheme shown below, and direct asset URLs use the /releases/latest/download/<asset-name> pattern.

Platform Architecture Asset name
Linux x86_64 buildbroom-vX.Y.Z-x86_64-linux.tar.gz
Linux arm64 buildbroom-vX.Y.Z-aarch64-linux.tar.gz
macOS Apple Silicon buildbroom-vX.Y.Z-aarch64-darwin.tar.gz
macOS Intel buildbroom-vX.Y.Z-x86_64-darwin.tar.gz
Windows x86_64 buildbroom-vX.Y.Z-x86_64-windows.zip

Getting Started

Requirements

  • Go 1.25 or newer

Build

go build ./...

Preview cleanup targets

go run . /path/to/workspace

Delete matched targets

go run . --apply --depth 2 --jobs 8 /path/to/workspace

Run tests

go test ./...

License

Released under the MIT License. See LICENSE.

Packages

 
 
 

Contributors

Languages