mirror of
				https://github.com/taigrr/yq
				synced 2025-01-18 04:53:17 -08:00 
			
		
		
		
	Precheckin now installs if tests pass
This commit is contained in:
		
							parent
							
								
									eeb16443d4
								
							
						
					
					
						commit
						4ea8d5c4ee
					
				| @ -5,9 +5,13 @@ golint | ||||
| go test | ||||
| 
 | ||||
| # acceptance test | ||||
| X=$(go run yaml.go  sample.yaml b.c) | ||||
| go build | ||||
| X=$(./yaml sample.yaml b.c) | ||||
| 
 | ||||
| if [ $X != 2 ] | ||||
|   then | ||||
| 	echo "Failed acceptance test: expected 2 but was $X" | ||||
|   exit 1 | ||||
| fi | ||||
| 
 | ||||
| go install | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user