mirror of
https://github.com/pushbits/server.git
synced 2025-05-03 12:16:20 +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 \
|
if [ "$$stdout" ]; then \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi
|
fi
|
||||||
|
go vet ./...
|
||||||
gocyclo -over 10 $(shell find . -iname '*.go' -type f)
|
gocyclo -over 10 $(shell find . -iname '*.go' -type f)
|
||||||
go test -v -cover ./...
|
go test -v -cover ./...
|
||||||
stdout=$$(golint ./... 2>&1); \
|
stdout=$$(golint ./... 2>&1); \
|
||||||
|
|
Loading…
Add table
Reference in a new issue