kubergrunt: use `go` to build

Closes #111568.

Signed-off-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
master
Michael Cho 2022-09-23 18:03:26 -07:00 committed by BrewTestBot
parent 90f3eeb9dd
commit 0c81d08921
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
1 changed files with 1 additions and 2 deletions

View File

@ -14,8 +14,7 @@ class Kubergrunt < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "de0c5491615d82a8284fdd63e999711351f2647aceeb925b1c29ab2874a89edc"
end
# Bump to 1.18 on the next release, if possible.
depends_on "go@1.17" => :build
depends_on "go" => :build
def install
system "go", "build", *std_go_args(ldflags: "-s -w -X main.VERSION=v#{version}"), "./cmd"