mirror of
https://github.com/pushbits/server.git
synced 2025-05-02 19:56:15 +02:00
Run go vet when testing
This commit is contained in:
parent
35c33c533b
commit
e6ee7378eb
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -10,6 +10,7 @@ test:
|
|||
if [ "$$stdout" ]; then \
|
||||
exit 1; \
|
||||
fi
|
||||
go vet ./...
|
||||
gocyclo -over 10 $(shell find . -iname '*.go' -type f)
|
||||
go test -v -cover ./...
|
||||
stdout=$$(golint ./... 2>&1); \
|
||||
|
|
Loading…
Add table
Reference in a new issue