Skip to content

Commit

Permalink
Detect code style violations in deeply nested files
Browse files Browse the repository at this point in the history
So far the style check did not recognize issues in files in deeply
nested directories, e.g. retrieval/discovery/kubernetes/discovery.go.
  • Loading branch information
grobie committed Mar 3, 2016
1 parent 7a0c0c3 commit d7889e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ all: format build test

style:
@echo ">> checking code style"
@! gofmt -d **/*.go | grep '^'
@! gofmt -d $(shell find . -path ./vendor -prune -o -name '*.go' -print) | grep '^'

test:
@echo ">> running tests"
Expand Down

0 comments on commit d7889e6

Please sign in to comment.