Merge pull request #6923 from dawidd6/create-go-updated

formula_creator: update go build args
This commit is contained in:
Mike McQuaid 2020-02-01 14:11:00 +01:00 committed by GitHub
commit 040e291188
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -137,7 +137,7 @@ module Homebrew
"--disable-silent-rules",
"--prefix=\#{prefix}"
<% elsif mode == :go %>
system "go", "build", "-o", "\#{bin}/\#{name}"
system "go", "build", *std_go_args
<% elsif mode == :meson %>
mkdir "build" do
system "meson", "--prefix=\#{prefix}", ".."