require 'formula' class Growly < Formula homepage 'https://github.com/ryankee/growly' head 'https://github.com/ryankee/growly.git' url 'https://github.com/downloads/ryankee/growly/growly-v0.2.0.tar.gz' sha1 'f260315adbff902b14469cb755c2620868649cf1' def install bin.install 'growly' end def test system "#{bin}/growly", "echo Hello, world!" end end