homebrew-core/Formula/wait_on.rb
Ted Pennings 4cd0935be7 Convert all 'def test' formulae to 'test do'
Closes Homebrew/homebrew#26942.
Closes Homebrew/homebrew#26946.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-02-24 19:54:02 -08:00

19 lines
404 B
Ruby

require 'formula'
class WaitOn < Formula
homepage 'http://www.freshports.org/sysutils/wait_on/'
url 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/wait_on-1.1.tar.gz'
sha1 '9e3fb51b6324f5aca7664fb8165f61a52bd5bd61'
depends_on :bsdmake
def install
system "bsdmake"
bin.install 'wait_on'
man1.install 'wait_on.1.gz'
end
test do
system "#{bin}/wait_on", "-v"
end
end