1e2e9a72f7
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 <source@sharpsteen.net>
18 lines
385 B
Ruby
18 lines
385 B
Ruby
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
|