cayley: pass -vendor-only to dep ensure

This commit is contained in:
ilovezfs 2018-06-07 05:06:24 -07:00
parent 17f673df31
commit 0678dd60ab

View file

@ -27,7 +27,7 @@ class Cayley < Formula
(buildpath/"src/github.com/cayleygraph/cayley").install buildpath.children
cd "src/github.com/cayleygraph/cayley" do
system "dep", "ensure"
system "dep", "ensure", "-vendor-only"
system "go", "build", "-o", bin/"cayley", "-ldflags",
"-X main.Version=#{version}", ".../cmd/cayley"