Skip to content

Commit

Permalink
gocloc: update go build
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
chenrui333 committed Dec 3, 2024
1 parent e5b8bca commit 9782bae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/g/gocloc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Gocloc < Formula
depends_on "go" => :build

def install
system "go", "build", *std_go_args, "./cmd/gocloc"
system "go", "build", *std_go_args(ldflags: "-s -w"), "./cmd/gocloc"
end

test do
Expand Down

0 comments on commit 9782bae

Please sign in to comment.