aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-02-07 15:46:49 +0100
committerGitHub <noreply@github.com>2019-02-07 15:46:49 +0100
commit01f436ca4707569e9f8c3d08fb0a057aa62ea059 (patch)
tree55f978130a6a950653cc809cff7949af113e19fc /Makefile
parentb91c87509e55e88aa9f89faf270ee291df8a78f7 (diff)
parent0f0ba530306701cc7443d4a0e514149d8329b75d (diff)
downloadpodman-01f436ca4707569e9f8c3d08fb0a057aa62ea059.tar.gz
podman-01f436ca4707569e9f8c3d08fb0a057aa62ea059.tar.bz2
podman-01f436ca4707569e9f8c3d08fb0a057aa62ea059.zip
Merge pull request #2288 from vrothberg/vendor-docs
Vendor docs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 0addfbcdb..8e94f1970 100644
--- a/Makefile
+++ b/Makefile
@@ -289,7 +289,7 @@ uninstall:
install.tools: .install.gitvalidation .install.gometalinter .install.md2man .install.ginkgo ## Install needed tools
.install.vndr: .gopathok
- $(GO) get github.com/LK4D4/vndr
+ $(GO) get -u github.com/LK4D4/vndr
.install.ginkgo: .gopathok
if [ ! -x "$(GOBIN)/ginkgo" ]; then \
@@ -348,10 +348,11 @@ build-all-new-commits:
# Validate that all the commits build on top of $(GIT_BASE_BRANCH)
git rebase $(GIT_BASE_BRANCH) -x make
-vendor:
- vndr -whitelist "github.com/varlink/go" \
- -whitelist "github.com/onsi/ginkgo" \
- -whitelist "github.com/onsi/gomega"
+vendor: .install.vndr
+ $(GOPATH)/bin/vndr \
+ -whitelist "github.com/varlink/go" \
+ -whitelist "github.com/onsi/ginkgo" \
+ -whitelist "github.com/onsi/gomega"
.PHONY: \
.gopathok \