13 lines
		
	
	
		
			157 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			157 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash
 | |
| 
 | |
| # Verify that all files are correctly golint'd.
 | |
| EXIT=0
 | |
| GOLINT=$(golint ./...)
 | |
| 
 | |
| if [[ ! -z $GOLINT ]]; then
 | |
| 	echo $GOLINT
 | |
| 	EXIT=1
 | |
| fi
 | |
| 
 | |
| exit $EXIT
 |