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-12 10:06:57 +00:00
|
|
|
url "https://repo1.maven.org/maven2/com/madgag/bfg/1.12.3/bfg-1.12.3.jar"
|
|
|
|
sha1 "4eff57d0418958815681cbbec2f19ed7285252cb"
|
2014-05-25 08:51:18 +00:00
|
|
|
|
|
|
|
def install
|
2015-02-12 10:06:57 +00:00
|
|
|
libexec.install "bfg-1.12.3.jar"
|
|
|
|
bin.write_jar_script libexec/"bfg-1.12.3.jar", "bfg"
|
2014-05-25 08:51:18 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/bfg"
|
|
|
|
end
|
|
|
|
end
|