mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-04 05:18:25 +00:00 
			
		
		
		
	Add "check" alias for testing
Follows GNU Coding Standards, see https://www.gnu.org/prep/standards/html_node/Standard-Targets.html#Standard-Targets
This commit is contained in:
		
				
					committed by
					
						
						Andrey Nering
					
				
			
			
				
	
			
			
			
						parent
						
							1b962bac0b
						
					
				
				
					commit
					3f18111cbe
				
			
							
								
								
									
										3
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								Makefile
									
									
									
									
									
								
							@@ -62,6 +62,9 @@ lint:
 | 
				
			|||||||
test:
 | 
					test:
 | 
				
			||||||
	for PKG in $(PACKAGES); do go test -cover -coverprofile $$GOPATH/src/$$PKG/coverage.out $$PKG || exit 1; done;
 | 
						for PKG in $(PACKAGES); do go test -cover -coverprofile $$GOPATH/src/$$PKG/coverage.out $$PKG || exit 1; done;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# As for GNU Coding Standard
 | 
				
			||||||
 | 
					check: test
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.PHONY: install
 | 
					.PHONY: install
 | 
				
			||||||
install: $(BIN)/$(EXECUTABLE)
 | 
					install: $(BIN)/$(EXECUTABLE)
 | 
				
			||||||
	cp $< $(GOPATH)/bin/
 | 
						cp $< $(GOPATH)/bin/
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user