aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Kee2011-09-16 20:14:03 -0700
committerCharlie Sharpsteen2011-09-18 17:00:57 -0700
commit4e132b99a1eb375301fa6e6b4b3938255e6e49c5 (patch)
tree9a69e98d3c863db620b8a6f03c6e753e4b09a951
parent7ab1184e51dc3b0835d43b2eb49b9b434624a054 (diff)
downloadhomebrew-4e132b99a1eb375301fa6e6b4b3938255e6e49c5.tar.bz2
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 #7683. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
-rw-r--r--Library/Formula/growly.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/growly.rb b/Library/Formula/growly.rb
new file mode 100644
index 000000000..a8350922b
--- /dev/null
+++ b/Library/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