2014-05-25 08:51:18 +00:00
|
|
|
class Bfg < Formula
|
2015-10-05 12:03:06 +00:00
|
|
|
desc "Remove large files or passwords from Git history like git-filter-branch"
|
2014-12-21 19:42:03 +00:00
|
|
|
homepage "https://rtyley.github.io/bfg-repo-cleaner/"
|
2016-09-02 08:25:02 +00:00
|
|
|
url "https://search.maven.org/remotecontent?filepath=com/madgag/bfg/1.12.13/bfg-1.12.13.jar"
|
|
|
|
sha256 "fbeb45314d45c7ff26bb513154675a2e1e822282e0d095c6d911fcf68fd089c0"
|
2015-08-06 08:50:13 +00:00
|
|
|
|
2015-10-23 08:32:11 +00:00
|
|
|
bottle :unneeded
|
|
|
|
|
2016-09-24 15:45:48 +00:00
|
|
|
depends_on :java => "1.7+"
|
2014-05-25 08:51:18 +00:00
|
|
|
|
|
|
|
def install
|
2016-09-02 08:25:02 +00:00
|
|
|
libexec.install "bfg-1.12.13.jar"
|
|
|
|
bin.write_jar_script libexec/"bfg-1.12.13.jar", "bfg"
|
2014-05-25 08:51:18 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/bfg"
|
|
|
|
end
|
|
|
|
end
|