Skip to content

Commit 886f8ea

Browse files
committed
...almost...
1 parent a23b939 commit 886f8ea

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

HomebrewFormula/goad.rb

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
class Goad < Formula
2+
desc "An AWS Lambda powered, highly distributed, load testing tool built in Go."
3+
homepage "https://goad.io/"
4+
url "https://github.com/goadapp/goad.git"
5+
version "1.4.0"
6+
7+
depends_on "go" => :build
8+
9+
def install
10+
ENV["GOPATH"] = buildpath
11+
ENV["GOBIN"] = buildpath/"bin"
12+
ENV.prepend_create_path "PATH", buildpath/"bin"
13+
14+
(buildpath/"src/github.com/goadapp/goad").install buildpath.children
15+
cd "src/github.com/goadapp/goad/" do
16+
system "make", "build"
17+
bin.install "build/goad"
18+
end
19+
end
20+
21+
test do
22+
system "#{bin}/goad", "--version"
23+
end
24+
end

0 commit comments

Comments
 (0)