dep: remove old code.

This commit is contained in:
Mike McQuaid 2019-01-06 14:57:44 +00:00
parent e8a803903c
commit 0e962e1a11

View file

@ -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