Skip to content

Commit 5fab177

Browse files
alebcaychenrui333
authored andcommitted
gotags: use std_go_args
1 parent 6089f17 commit 5fab177

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Formula/gotags.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ class Gotags < Formula
2424

2525
def install
2626
ENV["GO111MODULE"] = "auto"
27-
system "go", "build", "-ldflags", "-s -w", "-trimpath", "-o", bin/"gotags"
28-
prefix.install_metafiles
27+
system "go", "build", *std_go_args(ldflags: "-s -w")
2928
end
3029

3130
test do

0 commit comments

Comments
 (0)