lf: use `go` to build

Closes #111573.

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:33:44 -07:00 committed by BrewTestBot
parent 39faabd100
commit 90f3eeb9dd
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 Lf < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "83b9d1b1eed42aeecd6b4d94e41277c89b8a09ff991d95374cf9da67efc99a18"
end
# Bump to 1.18 on the next release.
depends_on "go@1.17" => :build
depends_on "go" => :build
def install
system "go", "build", *std_go_args(ldflags: "-s -w -X main.gVersion=#{version}")