From 6af1c86573ce95bd81186e923b2fe2dda89565a3 Mon Sep 17 00:00:00 2001 From: Antonio Murdaca Date: Thu, 25 May 2017 11:02:59 +0200 Subject: [PATCH] Makefile: exclude ./vendor from git-validation Signed-off-by: Antonio Murdaca --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2f052723..206dea82 100644 --- a/Makefile +++ b/Makefile @@ -170,9 +170,9 @@ uninstall: # When this is running in travis, it will only check the travis commit range .gitvalidation: .gopathok ifeq ($(TRAVIS),true) - $(GOPATH)/bin/git-validation -q -run DCO,short-subject,dangling-whitespace + GIT_CHECK_EXCLUDE="./vendor" $(GOPATH)/bin/git-validation -q -run DCO,short-subject,dangling-whitespace else - $(GOPATH)/bin/git-validation -v -run DCO,short-subject,dangling-whitespace -range $(EPOCH_TEST_COMMIT)..HEAD + GIT_CHECK_EXCLUDE="./vendor" $(GOPATH)/bin/git-validation -v -run DCO,short-subject,dangling-whitespace -range $(EPOCH_TEST_COMMIT)..HEAD endif .PHONY: install.tools