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