remove lint from Makefile. It could give false alarms.
This commit is contained in:
9
Makefile
9
Makefile
@ -6,7 +6,6 @@
|
||||
updatetestdeps \
|
||||
build \
|
||||
proto \
|
||||
lint \
|
||||
pretest \
|
||||
test \
|
||||
testrace \
|
||||
@ -39,13 +38,7 @@ proto:
|
||||
protoc -I $$(dirname $$file) --go_out=plugins=grpc:$$(dirname $$file) $$file; \
|
||||
done
|
||||
|
||||
lint: testdeps
|
||||
go get -v github.com/golang/lint/golint
|
||||
for file in $$(git ls-files '*.go' | grep -v '\.pb\.go$$' | grep -v '_string\.go$$'); do \
|
||||
golint $$file; \
|
||||
done
|
||||
|
||||
pretest: lint
|
||||
pretest:
|
||||
|
||||
test: pretest
|
||||
go test -v -cpu 1,4 google.golang.org/grpc/...
|
||||
|
Reference in New Issue
Block a user