ssh-vault: pass -vendor-only to dep ensure
This commit is contained in:
parent
966abf9d48
commit
b534e457c4
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue