aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/betty.rb
blob: 7fb2e4019a562271dd97828a0e8f6dec1fcbff92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class Betty < Formula
  homepage "https://github.com/pickhardt/betty"
  url "https://github.com/pickhardt/betty/archive/v0.1.7.tar.gz"
  sha1 "ec21ec5541289a9902874c7897f8d521044daf27"

  depends_on :ruby => "1.9"

  def install
    libexec.install "lib", "main.rb" => "betty"
    bin.write_exec_script libexec/"betty"
  end

  test do
    system bin/"betty", "what is your name"
    system bin/"betty", "version"
  end
end