From b534e457c4fe2c6b3243021c403a07fb6acebc55 Mon Sep 17 00:00:00 2001 From: ilovezfs Date: Thu, 7 Jun 2018 05:06:25 -0700 Subject: [PATCH] ssh-vault: pass -vendor-only to `dep ensure` --- Formula/ssh-vault.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/ssh-vault.rb b/Formula/ssh-vault.rb index e99f4c7f21..13d2f0a012 100644 --- a/Formula/ssh-vault.rb +++ b/Formula/ssh-vault.rb @@ -21,7 +21,7 @@ class SshVault < Formula ENV["GOPATH"] = buildpath (buildpath/"src/github.com/ssh-vault/ssh-vault").install buildpath.children cd "src/github.com/ssh-vault/ssh-vault" do - system "dep", "ensure" + system "dep", "ensure", "-vendor-only" ldflags = "-s -w -X main.version=#{version}" system "go", "build", "-ldflags", ldflags, "-o", "#{bin}/ssh-vault", "cmd/ssh-vault/main.go" prefix.install_metafiles