mirror of
				https://github.com/flame-engine/flame.git
				synced 2025-11-04 04:47:13 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			247 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			247 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
if [[ $(flutter format -n .) ]]; then
 | 
						|
    echo "flutter format issue"
 | 
						|
    exit 1
 | 
						|
fi
 | 
						|
 | 
						|
result=`dartanalyzer lib/`
 | 
						|
if ! echo "$result" | grep -q "No issues found!"; then
 | 
						|
  echo "$result"
 | 
						|
  echo "dartanalyzer issue"
 | 
						|
  exit 1
 | 
						|
fi
 | 
						|
 | 
						|
echo "success"
 | 
						|
exit 0
 |