homebrew-core/Formula/betty.rb

19 lines
477 B
Ruby
Raw Normal View History

class Betty < Formula
desc "English-like interface for the command-line"
homepage "https://github.com/pickhardt/betty"
2014-10-31 23:49:48 +00:00
url "https://github.com/pickhardt/betty/archive/v0.1.7.tar.gz"
sha1 "ec21ec5541289a9902874c7897f8d521044daf27"
2015-04-11 18:07:26 +00:00
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