alp: update build

Closes #120106.

Signed-off-by: Rui Chen <rui@chenrui.dev>
Signed-off-by: Patrick Linnane <patrick@linnane.io>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
master
Rui Chen 2023-01-09 00:00:41 -05:00 committed by BrewTestBot
parent 39dcf409ef
commit ffcb57cca1
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
1 changed files with 1 additions and 2 deletions

View File

@ -20,8 +20,7 @@ class Alp < Formula
depends_on "go" => :build
def install
system "go", "build", "-ldflags", "-s -w", "-trimpath", "-o", bin/"alp", "cli/alp/main.go"
prefix.install_metafiles
system "go", "build", *std_go_args(ldflags: "-s -w"), "./cli/alp"
end
test do