Exclude vendor in check-fmt target

This commit is contained in:
Martin Polden 2018-08-14 21:00:55 +02:00
parent 059db6372c
commit 122fd3dcfa
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ ifdef TRAVIS
endif
check-fmt:
bash -c "diff --line-format='%L' <(echo -n) <(gofmt -d -s .)"
bash -c 'diff --line-format="%L" <(echo -n) <(gofmt -d -s $$(find . -type f -name "*.go" -not -path "./vendor/*"))'
lint: check-fmt vet megacheck