mirror of
				https://github.com/flame-engine/flame.git
				synced 2025-11-04 13:08:09 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			230 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			230 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 "dartanalyzer issue"
 | 
						|
  exit 1
 | 
						|
fi
 | 
						|
 | 
						|
echo "success"
 | 
						|
exit 0
 |