blob: 74633d71d8371bc1346d2cb6c31fcece2d9926f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
require "formula"
class Wrk < Formula
homepage "https://github.com/wg/wrk"
url "https://github.com/wg/wrk/archive/3.1.1.tar.gz"
sha1 "7cea5d12dc5076fed1a1c730bd3e6eba832a8f61"
head "https://github.com/wg/wrk.git"
revision 1
bottle do
cellar :any
revision 1
sha1 "034ed6c6991064d72aabadec117cedc8826a5018" => :mavericks
sha1 "beec443377916519ef99e99ac443adf92aa15f59" => :mountain_lion
sha1 "9528426378a5d4d75e1ec5f7cd0d3dcbdeb775ac" => :lion
end
depends_on "openssl"
conflicts_with "wrk-trello", :because => "both install `wrk` binaries"
def install
ENV.j1
system "make"
bin.install "wrk"
end
test do
system *%W{#{bin}/wrk -c 1 -t 1 -d 1 http://example.com/}
end
end
|