Skip to content

Commit faaadd2

Browse files
alebcaychenrui333
authored andcommitted
nats-streaming-server: use std_go_args
1 parent f0c0425 commit faaadd2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Formula/nats-streaming-server.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ class NatsStreamingServer < Formula
1919
depends_on "go" => :build
2020

2121
def install
22-
system "go", "build", "-ldflags", "-s -w", "-trimpath", "-o", bin/"nats-streaming-server"
23-
prefix.install_metafiles
22+
system "go", "build", *std_go_args(ldflags: "-s -w")
2423
end
2524

2625
service do

0 commit comments

Comments
 (0)