homebrew-core/Formula/betty.rb
Xu Cheng b01c6c5e96 betty: fix test
TTS service will run timeout in the headless environment.

Closes Homebrew/homebrew#38892.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-04-21 19:33:02 +08:00

17 lines
424 B
Ruby

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