2014-05-08 19:17:26 +00:00
|
|
|
class Betty < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "English-like interface for the command-line"
|
2014-05-08 19:17:26 +00:00
|
|
|
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"
|
2015-04-19 10:25:19 +00:00
|
|
|
sha256 "ed71e88a659725e0c475888df044c9de3ab1474ff483f0a3bb432949035e62d3"
|
2014-05-08 19:17:26 +00:00
|
|
|
|
2015-10-23 08:31:58 +00:00
|
|
|
bottle :unneeded
|
|
|
|
|
2016-09-24 15:45:48 +00:00
|
|
|
depends_on :ruby => "1.9"
|
2014-05-08 19:17:26 +00:00
|
|
|
|
|
|
|
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
|