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
1 changed files with 4 additions and 0 deletions

View File

@ -327,6 +327,9 @@ build-all-new-commits:
# Validate that all the commits build on top of $(GIT_BASE_BRANCH) # Validate that all the commits build on top of $(GIT_BASE_BRANCH)
git rebase $(GIT_BASE_BRANCH) -x make git rebase $(GIT_BASE_BRANCH) -x make
vendor:
vndr -whitelist "github.com/varlink/go"
.PHONY: \ .PHONY: \
.gopathok \ .gopathok \
binaries \ binaries \
@ -344,3 +347,4 @@ build-all-new-commits:
changelog \ changelog \
validate \ validate \
install.libseccomp.sudo \ install.libseccomp.sudo \
vendor