Skip to content

Commit

Permalink
aurora: remove gopath
Browse files Browse the repository at this point in the history
  • Loading branch information
alebcay committed Dec 9, 2019
1 parent b15cb7e commit ea38d43
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions Formula/aurora.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,8 @@ class Aurora < Formula
depends_on "go" => :build

def install
ENV["GOPATH"] = buildpath
aurorapath = buildpath/"src/github.com/xuri/aurora"
aurorapath.install buildpath.children

cd aurorapath do
system "go", "build", "-o", bin/"aurora"
prefix.install_metafiles
end
system "go", "build", "-ldflags", "-s -w", "-trimpath", "-o", bin/"aurora"
prefix.install_metafiles
end

test do
Expand Down

0 comments on commit ea38d43

Please sign in to comment.