homebrew-core/Formula/wrk.rb
h416 925b8cdc10 wrk 2.2.2
Closes Homebrew/homebrew#21072.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-07-08 07:08:15 -07:00

16 lines
330 B
Ruby

require 'formula'
class Wrk < Formula
homepage 'https://github.com/wg/wrk'
url 'https://github.com/wg/wrk/archive/2.2.2.tar.gz'
sha1 'e13ebcea4d88137c788363daafae546b0ccdbf19'
def install
system "make"
bin.install "wrk"
end
test do
system *%W{#{bin}/wrk -c 1 -r 1 -t 1 http://www.github.com/}
end
end