mirror of
				https://github.com/mfulz/qmk_firmware.git
				synced 2025-10-31 21:32:31 +01:00 
			
		
		
		
	Add maintenance makefile rule to detect oversize code lines.
This commit is contained in:
		
							parent
							
								
									c2e7e5783b
								
							
						
					
					
						commit
						24ff863f02
					
				| @ -14,6 +14,10 @@ LUFA_ROOT := ../ | ||||
| 
 | ||||
| all: | ||||
| 
 | ||||
| # Print a list of all filenames and line numbers that exceed an allowed threshold
 | ||||
| line-lengths: | ||||
| 	awk '{ if (length > 150) { print FILENAME, ":", FNR, "[", length, "]" } }' `find $(LUFA_ROOT) -name *.[ch]` | ||||
| 
 | ||||
| # Generate a header containing all library functions
 | ||||
| function-list: | ||||
| 	$(MAKE) -C $(patsubst %/,%,$(LUFA_ROOT))/LUFA doxygen DOXYGEN_OVERRIDE_PARAMS="GENERATE_HTML=no GENERATE_XML=yes" | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Dean Camera
						Dean Camera