homebrew-core/Formula/betty.rb
Mike McQuaid 7a4dabfc1a Use hash rockets again. (#5177)
This restores 1.8 hash rockets because they look nicer with e.g. `depends_on :foo => :bar`
2016-09-24 16:45:48 +01:00

20 lines
523 B
Ruby

class Betty < Formula
desc "English-like interface for the command-line"
homepage "https://github.com/pickhardt/betty"
url "https://github.com/pickhardt/betty/archive/v0.1.7.tar.gz"
sha256 "ed71e88a659725e0c475888df044c9de3ab1474ff483f0a3bb432949035e62d3"
bottle :unneeded
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