mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	Add tools/check
This commit is contained in:
		
							parent
							
								
									786ee4d455
								
							
						
					
					
						commit
						16e879cb16
					
				
					 1 changed files with 13 additions and 0 deletions
				
			
		
							
								
								
									
										13
									
								
								tools/check
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										13
									
								
								tools/check
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,13 @@
 | 
			
		|||
#!/bin/bash
 | 
			
		||||
 | 
			
		||||
options="\
 | 
			
		||||
	--enable=all \
 | 
			
		||||
	--suppress=missingInclude \
 | 
			
		||||
	--suppress=unusedFunction \
 | 
			
		||||
	--suppress=unmatchedSuppression \
 | 
			
		||||
"
 | 
			
		||||
 | 
			
		||||
for f in  $(find src/ -name "*.c"); do
 | 
			
		||||
	cppcheck ${options} "${f}"
 | 
			
		||||
done
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue