dep: remove old code.
This commit is contained in:
parent
e8a803903c
commit
0e962e1a11
1 changed files with 1 additions and 2 deletions
|
@ -20,11 +20,10 @@ class Dep < Formula
|
|||
|
||||
def install
|
||||
ENV["GOPATH"] = buildpath
|
||||
arch = MacOS.prefer_64_bit? ? "amd64" : "386"
|
||||
(buildpath/"src/github.com/golang/dep").install buildpath.children
|
||||
cd "src/github.com/golang/dep" do
|
||||
ENV["DEP_BUILD_PLATFORMS"] = "darwin"
|
||||
ENV["DEP_BUILD_ARCHS"] = arch
|
||||
ENV["DEP_BUILD_ARCHS"] = "amd64"
|
||||
system "hack/build-all.bash"
|
||||
bin.install "release/dep-darwin-#{arch}" => "dep"
|
||||
prefix.install_metafiles
|
||||
|
|
Loading…
Reference in a new issue