gor 1.0.0
Closes #40013. Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
parent
1c19ca763d
commit
e74602c2d4
1 changed files with 4 additions and 2 deletions
|
@ -2,8 +2,8 @@ class Gor < Formula
|
|||
desc "Real-time HTTP traffic replay tool written in Go"
|
||||
homepage "https://gortool.com"
|
||||
url "https://github.com/buger/goreplay.git",
|
||||
:tag => "v0.16.1",
|
||||
:revision => "652e589e2b71d5dfa4d2a70431d21b108a5e471e"
|
||||
:tag => "v1.0.0",
|
||||
:revision => "a8cfaa75812ac176b253ffe1d11eb9bbc7be7522"
|
||||
head "https://github.com/buger/goreplay.git"
|
||||
|
||||
bottle do
|
||||
|
@ -19,6 +19,8 @@ class Gor < Formula
|
|||
|
||||
def install
|
||||
ENV["GOPATH"] = buildpath
|
||||
ENV["GO111MODULE"] = "on"
|
||||
|
||||
(buildpath/"src/github.com/buger/goreplay").install buildpath.children
|
||||
cd "src/github.com/buger/goreplay" do
|
||||
system "go", "build", "-o", bin/"gor", "-ldflags", "-X main.VERSION=#{version}"
|
||||
|
|
Loading…
Reference in a new issue