2014-05-25 08:51:18 +00:00
|
|
|
class Bfg < Formula
|
2015-08-06 08:50:13 +00:00
|
|
|
desc "Removes large files or passwords from Git history like git-filter-branch does, but faster."
|
2014-12-21 19:42:03 +00:00
|
|
|
homepage "https://rtyley.github.io/bfg-repo-cleaner/"
|
2015-09-14 12:24:54 +00:00
|
|
|
url "https://repo1.maven.org/maven2/com/madgag/bfg/1.12.5/bfg-1.12.5.jar"
|
|
|
|
sha256 "fa797cc6e5878a3b7b61104f3a3ba3d43987e2a7a9c596cb9d137c7b95e6b082"
|
2015-08-06 08:50:13 +00:00
|
|
|
|
|
|
|
depends_on :java => "1.7+"
|
2014-05-25 08:51:18 +00:00
|
|
|
|
|
|
|
def install
|
2015-09-14 12:24:54 +00:00
|
|
|
libexec.install "bfg-1.12.5.jar"
|
|
|
|
bin.write_jar_script libexec/"bfg-1.12.5.jar", "bfg"
|
2014-05-25 08:51:18 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/bfg"
|
|
|
|
end
|
|
|
|
end
|