gotags: remove gopath
Closes #47806. Signed-off-by: Rui Chen <chenrui333@gmail.com>
This commit is contained in:
parent
66fb70902b
commit
59cb503230
1 changed files with 2 additions and 4 deletions
|
@ -18,10 +18,8 @@ class Gotags < Formula
|
|||
depends_on "go" => :build
|
||||
|
||||
def install
|
||||
ENV["GOPATH"] = buildpath
|
||||
|
||||
system "go", "build", "-o", "gotags"
|
||||
bin.install "gotags"
|
||||
system "go", "build", "-ldflags", "-s -w", "-trimpath", "-o", bin/"gotags"
|
||||
prefix.install_metafiles
|
||||
end
|
||||
|
||||
test do
|
||||
|
|
Loading…
Reference in a new issue