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>
This commit is contained in:
Valentin Rothberg
2019-01-08 18:00:18 +01:00
parent 26f2b7debd
commit 545f244212

View File

@ -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