mirror of https://github.com/grpc/grpc-go.git
				
				
				
			remove lint from Makefile. It could give false alarms.
This commit is contained in:
		
							parent
							
								
									9738b8b68c
								
							
						
					
					
						commit
						2579d72e57
					
				
							
								
								
									
										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/...
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue