frugal: depend on glide at build time (#26652)

instead of godep
This commit is contained in:
Charlie Strawn 2018-04-16 04:54:55 -05:00 committed by ilovezfs
parent b149fa81b3
commit a666c82f65

View file

@ -12,13 +12,13 @@ class Frugal < Formula
end
depends_on "go" => :build
depends_on "godep" => :build
depends_on "glide" => :build
def install
ENV["GOPATH"] = buildpath
(buildpath/"src/github.com/Workiva/frugal").install buildpath.children
cd buildpath/"src/github.com/Workiva/frugal" do
system "godep", "restore"
system "glide", "install"
system "go", "build", "-o", bin/"frugal"
prefix.install_metafiles
end