mirror of
https://github.com/FiloSottile/age.git
synced 2026-03-11 08:55:41 +00:00
HomebrewFormula: drop GOPATH and set -trimpath
This commit is contained in:
parent
80c6b4edd9
commit
0da94651f3
1 changed files with 2 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue