summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2019-01-08 18:00:18 +0100
committerValentin Rothberg <rothberg@redhat.com>2019-01-11 13:12:14 +0100
commit545f24421247c9f6251a634764db3f8f8070a812 (patch)
treeac896ac17b584b508601ef4b3cd1bc7854fce546
parent26f2b7debde313af4a5ae39727c66a3f8fd59be4 (diff)
downloadpodman-545f24421247c9f6251a634764db3f8f8070a812.tar.gz
podman-545f24421247c9f6251a634764db3f8f8070a812.tar.bz2
podman-545f24421247c9f6251a634764db3f8f8070a812.zip
vendor make target
Add a `make vendor` target calls `vndr` with a specified whitelist to avoid deleting important files (currently the varlink/go project). Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8aaa38748..73dc79400 100644
--- a/Makefile
+++ b/Makefile
@@ -327,6 +327,9 @@ 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"
+
.PHONY: \
.gopathok \
binaries \
@@ -344,3 +347,4 @@ build-all-new-commits:
changelog \
validate \
install.libseccomp.sudo \
+ vendor