formula: add std_go_args

This commit is contained in:
Dawid Dziurla 2020-01-15 12:33:55 +01:00
parent 95e04cbf29
commit b9be9bb71c
No known key found for this signature in database
GPG Key ID: 7B6D8368172E9B0B

View File

@ -1338,6 +1338,11 @@ class Formula
args
end
# Standard parameters for Go builds.
def std_go_args
["-trimpath", "-o", bin/name]
end
# an array of all core {Formula} names
# @private
def self.core_names