Skip to content

Commit

Permalink
[modules/go] re-write go vet target (#109)
Browse files Browse the repository at this point in the history
* fix(modules.go): re-write go vet target

use `go too vet $dir` to vet code

* refactor(modules.go): use go tool vet with find
  • Loading branch information
alebabai authored Sep 20, 2018
1 parent fda8574 commit 518fc1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/go/Makefile.style
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ go/lint: $(GO) go/vet
## Vet code
go/vet: $(GO)
$(call assert-set,GO)
find . ! -path "*/vendor/*" ! -path "*/.glide/*" -type f -name '*.go' | xargs $(GO) vet -v
find . ! -path "*/vendor/*" ! -path "*/.glide/*" -type f -name '*.go' | xargs $(GO) tool vet -v

## Format code according to Golang convention
go/fmt: $(GO)
Expand Down

0 comments on commit 518fc1e

Please sign in to comment.