2014-05-25 08:51:18 +00:00
|
|
|
class Bfg < Formula
|
2014-12-21 19:42:03 +00:00
|
|
|
homepage "https://rtyley.github.io/bfg-repo-cleaner/"
|
2015-02-04 04:27:04 +00:00
|
|
|
url "https://repo1.maven.org/maven2/com/madgag/bfg/1.12.0/bfg-1.12.0.jar"
|
|
|
|
sha1 "665b78b35a501adc49816e0553d643b56f05043f"
|
2014-05-25 08:51:18 +00:00
|
|
|
|
2014-10-31 11:15:45 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2015-02-04 04:38:48 +00:00
|
|
|
sha1 "7fde7526596e5070bb55723b6a03ccba698a3539" => :yosemite
|
|
|
|
sha1 "8ba104dc6eb4a6ae562d103df5ef439462bc725e" => :mavericks
|
|
|
|
sha1 "93b260fc22c0790d6a12d2eddbf2818728f29dd2" => :mountain_lion
|
2014-10-31 11:15:45 +00:00
|
|
|
end
|
|
|
|
|
2014-05-25 08:51:18 +00:00
|
|
|
def install
|
2015-02-04 04:27:04 +00:00
|
|
|
libexec.install "bfg-1.12.0.jar"
|
|
|
|
bin.write_jar_script libexec/"bfg-1.12.0.jar", "bfg"
|
2014-05-25 08:51:18 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/bfg"
|
|
|
|
end
|
|
|
|
end
|