From 545f24421247c9f6251a634764db3f8f8070a812 Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Tue, 8 Jan 2019 18:00:18 +0100 Subject: 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 --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3-54-g00ecf