Makefile: exclude ./vendor from git-validation
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
7c56d20988
commit
16f44674a4
1 changed files with 2 additions and 2 deletions
4
Makefile
4
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
|
||||
|
|
Loading…
Reference in a new issue