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
parent
39dcf409ef
commit
ffcb57cca1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue