Detect code style violations in deeply nested files

So far the style check did not recognize issues in files in deeply
nested directories, e.g. retrieval/discovery/kubernetes/discovery.go.
This commit is contained in:
Tobias Schmidt 2016-03-03 02:19:41 -05:00
parent 7a0c0c3ca2
commit d7889e61bb

View file

@ -23,7 +23,7 @@ all: format build test
style: style:
@echo ">> checking code style" @echo ">> checking code style"
@! gofmt -d **/*.go | grep '^' @! gofmt -d $(shell find . -path ./vendor -prune -o -name '*.go' -print) | grep '^'
test: test:
@echo ">> running tests" @echo ">> running tests"