10 lines
		
	
	
		
			282 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
		
		
			
		
	
	
			10 lines
		
	
	
		
			282 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| 
								 | 
							
								#!/bin/bash
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								result="$(find roles/*/{files,templates} -type f -exec file {} \; | grep -Ev ASCII\ text\|empty\|Unicode\ text)"
							 | 
						||
| 
								 | 
							
								if [ -n "$result" ]; then
							 | 
						||
| 
								 | 
							
								    echo "These files need to be evaluated -- generally, don't commit data files to Git."
							 | 
						||
| 
								 | 
							
								    echo "$result"
							 | 
						||
| 
								 | 
							
								    exit 1
							 | 
						||
| 
								 | 
							
								fi
							 | 
						||
| 
								 | 
							
								exit 0
							 |