mirror of
https://github.com/FiloSottile/age.git
synced 2026-01-04 19:33:55 +00:00
HomebrewFormula: drop GOPATH and set -trimpath
This commit is contained in:
@@ -13,9 +13,8 @@ class Age < Formula
|
||||
depends_on "go" => :build
|
||||
|
||||
def install
|
||||
ENV["GOPATH"] = HOMEBREW_CACHE/"go_cache"
|
||||
system "mkdir", bin
|
||||
system "go", "build", "-o", bin, "filippo.io/age/cmd/..."
|
||||
mkdir bin
|
||||
system "go", "build", "-trimpath", "-o", bin, "filippo.io/age/cmd/..."
|
||||
prefix.install_metafiles
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user