mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-30 17:53:21 -04:00 
			
		
		
		
	Rename coverage.sh to .coverage.sh (#270)
This is "infrastructure/meta" code, don't need to see it.
This commit is contained in:
		
							
								
								
									
										12
									
								
								.coverage.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										12
									
								
								.coverage.sh
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,12 @@ | ||||
| #!/usr/bin/env bash | ||||
|  | ||||
| set -e -x | ||||
| echo "" > coverage.txt | ||||
|  | ||||
| for d in $(go list ./... | grep -v vendor); do | ||||
|     go test -race -coverprofile=profile.out -covermode=atomic $d | ||||
|     if [ -f profile.out ]; then | ||||
|         cat profile.out >> coverage.txt | ||||
|         rm profile.out | ||||
|     fi | ||||
| done | ||||
		Reference in New Issue
	
	Block a user