mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-04 05:18:25 +00:00 
			
		
		
		
	Fix golint to new URL (#5079)
This commit is contained in:
		
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							@@ -129,7 +129,7 @@ errcheck:
 | 
				
			|||||||
.PHONY: lint
 | 
					.PHONY: lint
 | 
				
			||||||
lint:
 | 
					lint:
 | 
				
			||||||
	@hash golint > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
 | 
						@hash golint > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
 | 
				
			||||||
		$(GO) get -u github.com/golang/lint/golint; \
 | 
							$(GO) get -u golang.org/x/lint/golint; \
 | 
				
			||||||
	fi
 | 
						fi
 | 
				
			||||||
	for PKG in $(PACKAGES); do golint -set_exit_status $$PKG || exit 1; done;
 | 
						for PKG in $(PACKAGES); do golint -set_exit_status $$PKG || exit 1; done;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user