immortal: pass -vendor-only to dep ensure
This commit is contained in:
parent
02bd775ecd
commit
a9e96bb795
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue