formula_creator: update go build args

This commit is contained in:
Dawid Dziurla 2020-01-12 13:45:05 +01:00
parent 798e0a651d
commit 519c46c5f4
No known key found for this signature in database
GPG Key ID: 7B6D8368172E9B0B

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}", ".."