mirror of https://github.com/mpolden/echoip
Exclude vendor in check-fmt target
This commit is contained in:
parent
059db6372c
commit
122fd3dcfa
2
Makefile
2
Makefile
|
@ -23,7 +23,7 @@ ifdef TRAVIS
|
||||||
endif
|
endif
|
||||||
|
|
||||||
check-fmt:
|
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
|
lint: check-fmt vet megacheck
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue