blob: 81d0c58bf3b39a9b06974d49d8ae1fe5e025bda3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  | 
require "formula"
class Bfg < Formula
  homepage "http://rtyley.github.io/bfg-repo-cleaner/"
  url "http://repo1.maven.org/maven2/com/madgag/bfg/1.11.6/bfg-1.11.6.jar"
  sha1 "bbe33eb231435c04f5713d05d3b17a9b88d4954e"
  def install
    libexec.install "bfg-1.11.6.jar"
    bin.write_jar_script libexec/"bfg-1.11.6.jar", "bfg"
  end
  test do
    system "#{bin}/bfg"
  end
end
  |