2011-09-17 03:14:03 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Growly < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Redirect command output to a growl notification"
|
2011-09-17 03:14:03 +00:00
|
|
|
homepage 'https://github.com/ryankee/growly'
|
2011-10-10 20:17:11 +00:00
|
|
|
head 'https://github.com/ryankee/growly.git'
|
2011-09-17 03:14:03 +00:00
|
|
|
url 'https://github.com/downloads/ryankee/growly/growly-v0.2.0.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'f260315adbff902b14469cb755c2620868649cf1'
|
2011-09-17 03:14:03 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
bin.install 'growly'
|
|
|
|
end
|
|
|
|
|
2014-02-23 21:31:41 +00:00
|
|
|
test do
|
2012-05-06 05:34:15 +00:00
|
|
|
system "#{bin}/growly", "echo Hello, world!"
|
2011-09-17 03:14:03 +00:00
|
|
|
end
|
|
|
|
end
|