Replaced scripts/golint.sh with built-in golint flag. (#17)
* Replaced scripts/golint.sh with built-in golint flag. Fixes issue #16. Should I delete the scripts/golint.sh? * Added @mkoppmann to the AUTHORS file. * Delete golint.sh as it is not needed anymore
This commit is contained in:
		
				
					committed by
					
						 Matt Layher
						Matt Layher
					
				
			
			
				
	
			
			
			
						parent
						
							f9fab20f58
						
					
				
				
					commit
					ef5716f8d6
				
			| @@ -8,6 +8,6 @@ before_script: | |||||||
| script: | script: | ||||||
|   - ./scripts/licensecheck.sh |   - ./scripts/licensecheck.sh | ||||||
|   - go build ./... |   - go build ./... | ||||||
|   - ./scripts/golint.sh |   - golint -set_exit_status ./... | ||||||
|   - go vet ./... |   - go vet ./... | ||||||
|   - go test -v ./... |   - go test -v ./... | ||||||
|   | |||||||
							
								
								
									
										1
									
								
								AUTHORS
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								AUTHORS
									
									
									
									
									
								
							| @@ -12,3 +12,4 @@ Contributors | |||||||
| Justin Kim	<justin@digitalocean.com> | Justin Kim	<justin@digitalocean.com> | ||||||
| Ricky Medina	<rm@do.co> | Ricky Medina	<rm@do.co> | ||||||
| Charlie Drage <charlie@charliedrage.com> | Charlie Drage <charlie@charliedrage.com> | ||||||
|  | Michael Koppmann <me@mkoppmann.at> | ||||||
|   | |||||||
| @@ -1,12 +0,0 @@ | |||||||
| #!/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 |  | ||||||
		Reference in New Issue
	
	Block a user