File tree Expand file tree Collapse file tree 2 files changed +18
-6
lines changed Expand file tree Collapse file tree 2 files changed +18
-6
lines changed Original file line number Diff line number Diff line change 1+ require "language/go"
2+
13class Goad < Formula
24 desc "AWS Lambda powered, highly distributed, load testing tool built in Go."
35 homepage "https://goad.io/"
4- url "https://github.com/goadapp/goad.git" , :tag => "v1.4.0 "
6+ url "https://github.com/goadapp/goad.git" , :tag => "v1.4.1 "
57
68 depends_on "go" => :build
79
10+ go_resource "github.com/jteeuwen/go-bindata" do
11+ url "https://github.com/jteeuwen/go-bindata.git" ,
12+ :revision => "a0ff2567cfb70903282db057e799fd826784d41d"
13+ end
14+
815 def install
916 ENV [ "GOPATH" ] = buildpath
10- ENV [ "GOBIN" ] = buildpath /"bin"
17+ dir = buildpath /"src/github.com/goadapp/goad"
18+ dir . install buildpath . children
1119 ENV . prepend_create_path "PATH" , buildpath /"bin"
20+ Language ::Go . stage_deps resources , buildpath /"src"
21+
22+ cd "src/github.com/jteeuwen/go-bindata/go-bindata" do
23+ system "go" , "install"
24+ end
1225
13- ( buildpath /"src/github.com/goadapp/goad" ) . install buildpath . children
14- cd "src/github.com/goadapp/goad/" do
26+ cd dir do
1527 system "make" , "build"
1628 bin . install "build/goad"
1729 end
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ GOPATH := ${PWD}/vendor:${GOPATH}
1010export GOPATH
1111
1212# These will be provided to the target
13- VERSION := 1.4.0
13+ VERSION := 1.4.1
1414BUILD := ` git rev-parse HEAD `
1515
1616# Timestamp of last commit to allow for reproducable builds
@@ -44,7 +44,7 @@ lambda:
4444 @$(ZIP ) data/lambda data/lambda
4545
4646bindata : lambda
47- @go get -u github.com/jteeuwen/go-bindata/...
47+ @go get github.com/jteeuwen/go-bindata/...
4848 @go-bindata -modtime $(TIMESTAMP ) -nocompress -pkg infrastructure -o infrastructure/bindata.go data/lambda.zip
4949
5050linux : bindata
You can’t perform that action at this time.
0 commit comments