whirr: basic test added
Closes Homebrew/homebrew#39759. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
2dd6b9396b
commit
889c7308b2
1 changed files with 8 additions and 6 deletions
|
@ -1,12 +1,14 @@
|
|||
require 'formula'
|
||||
|
||||
class Whirr < Formula
|
||||
homepage 'http://whirr.apache.org/'
|
||||
url 'http://www.apache.org/dyn/closer.cgi?path=whirr/whirr-0.8.2/whirr-0.8.2.tar.gz'
|
||||
sha1 'd5bd127bc396795e4c512c1584a8c73abde5a78c'
|
||||
homepage "https://whirr.apache.org/"
|
||||
url "https://www.apache.org/dyn/closer.cgi?path=whirr/whirr-0.8.2/whirr-0.8.2.tar.gz"
|
||||
sha256 "d5ec36c4a6928079118065e3d918679870a42c844e47924b1cd4d7be00a4aca5"
|
||||
|
||||
def install
|
||||
libexec.install %w[bin conf lib]
|
||||
bin.write_exec_script libexec/'bin/whirr'
|
||||
bin.write_exec_script libexec/"bin/whirr"
|
||||
end
|
||||
|
||||
test do
|
||||
system "#{bin}/whirr", "help", "help"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue