From 1e2e9a72f766f1cc47156be54baabc71a06cdb53 Mon Sep 17 00:00:00 2001 From: Ryan Kee Date: Fri, 16 Sep 2011 20:14:03 -0700 Subject: [PATCH] New Formula: growly Growly is a simple tool to redirect output of a command to a growl notification. This is nice for cli tasks that take a considerable amount of time. Simply run them via growly and get a growl notification with their output whenever they finish. Closes Homebrew/homebrew#7683. Signed-off-by: Charlie Sharpsteen --- Formula/growly.rb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Formula/growly.rb diff --git a/Formula/growly.rb b/Formula/growly.rb new file mode 100644 index 00000000000..a8350922bb5 --- /dev/null +++ b/Formula/growly.rb @@ -0,0 +1,18 @@ +require 'formula' + +class Growly < Formula + homepage 'https://github.com/ryankee/growly' + head 'git://github.com/ryankee/growly.git' + url 'https://github.com/downloads/ryankee/growly/growly-v0.2.0.tar.gz' + md5 'a3e4922d619cfeb00009dc55163f0974' + + depends_on 'growlnotify' + + def install + bin.install 'growly' + end + + def test + system 'growly "echo Hello, world!"' + end +end