slackcat: pass -vendor-only to `dep ensure`

master
ilovezfs 2018-06-07 05:06:25 -07:00
parent 27cc74b4c4
commit 966abf9d48
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ class Slackcat < Formula
ENV["GOPATH"] = buildpath
(buildpath/"src/github.com/vektorlab/slackcat").install buildpath.children
cd "src/github.com/vektorlab/slackcat" do
system "dep", "ensure"
system "dep", "ensure", "-vendor-only"
system "go", "build", "-o", bin/"slackcat",
"-ldflags", "-X main.version=#{version}"
prefix.install_metafiles