homebrew-core/Formula/bfg.rb

20 lines
540 B
Ruby
Raw Normal View History

class Bfg < Formula
desc "Remove large files or passwords from Git history like git-filter-branch"
homepage "https://rtyley.github.io/bfg-repo-cleaner/"
2016-06-02 00:07:36 +00:00
url "https://search.maven.org/remotecontent?filepath=com/madgag/bfg/1.12.12/bfg-1.12.12.jar"
2016-06-01 11:22:48 +00:00
sha256 "03291c9cd9cdc664104f49b22b76bd39edc73052936cbfd72fc8d8595971fd9a"
2015-10-23 08:32:11 +00:00
bottle :unneeded
depends_on :java => "1.7+"
def install
2016-06-01 11:22:48 +00:00
libexec.install "bfg-1.12.12.jar"
bin.write_jar_script libexec/"bfg-1.12.12.jar", "bfg"
end
test do
system "#{bin}/bfg"
end
end