mirror of
https://github.com/mpolden/echoip.git
synced 2025-02-15 19:49:02 +01:00
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…
x
Reference in New Issue
Block a user