homebrew-core/Formula/docker-clean.rb

20 lines
563 B
Ruby

class DockerClean < Formula
desc "Clean Docker containers, images, networks, and volumes"
homepage "https://github.com/ZZROTDesign/docker-clean"
url "https://github.com/ZZROTDesign/docker-clean/archive/v2.0.4.tar.gz"
sha256 "4b636fd7391358b60c05b65ba7e89d27eaf8dd56cc516f3c786b59cadac52740"
license "MIT"
bottle do
sha256 cellar: :any_skip_relocation, all: "d23f5d1c32f2bd4a758bf8111008d0f6111080de861ca24abd0f8d5cd6ee6b86"
end
def install
bin.install "docker-clean"
end
test do
system "#{bin}/docker-clean", "--help"
end
end