remove lint from Makefile. It could give false alarms.

This commit is contained in:
iamqizhao
2015-06-12 17:57:50 -07:00
parent 9738b8b68c
commit 2579d72e57

View File

@ -6,7 +6,6 @@
updatetestdeps \ updatetestdeps \
build \ build \
proto \ proto \
lint \
pretest \ pretest \
test \ test \
testrace \ testrace \
@ -39,13 +38,7 @@ proto:
protoc -I $$(dirname $$file) --go_out=plugins=grpc:$$(dirname $$file) $$file; \ protoc -I $$(dirname $$file) --go_out=plugins=grpc:$$(dirname $$file) $$file; \
done done
lint: testdeps pretest:
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
test: pretest test: pretest
go test -v -cpu 1,4 google.golang.org/grpc/... go test -v -cpu 1,4 google.golang.org/grpc/...