mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 08:18:02 -04:00 
			
		
		
		
	go get github.com/wadey/gocovmerge when needed (#2235)
This commit is contained in:
		
				
					committed by
					
						 Lunny Xiao
						Lunny Xiao
					
				
			
			
				
	
			
			
			
						parent
						
							1193627014
						
					
				
				
					commit
					a804f0e052
				
			
							
								
								
									
										3
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								Makefile
									
									
									
									
									
								
							| @@ -126,6 +126,9 @@ test: fmt-check | |||||||
|  |  | ||||||
| .PHONY: test-coverage | .PHONY: test-coverage | ||||||
| test-coverage: unit-test-coverage integration-test-coverage | test-coverage: unit-test-coverage integration-test-coverage | ||||||
|  | 	@hash gocovmerge > /dev/null 2>&1; if [ $$? -ne 0 ]; then \ | ||||||
|  | 		go get -u github.com/wadey/gocovmerge; \ | ||||||
|  | 	fi | ||||||
| 	for PKG in $(PACKAGES); do\ | 	for PKG in $(PACKAGES); do\ | ||||||
| 	  touch $$GOPATH/src/$$PKG/coverage.out;\ | 	  touch $$GOPATH/src/$$PKG/coverage.out;\ | ||||||
| 	  egrep "$$PKG[^/]*\.go" integration.coverage.out > int.coverage.out;\ | 	  egrep "$$PKG[^/]*\.go" integration.coverage.out > int.coverage.out;\ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user