* lint: exclude "lib" subfolder from naming checks; fbt: moved LINT_SOURCES from literal strings to Dir() nodes * lint: also exclude hidden directories Co-authored-by: あく <alleteam@gmail.com>
		
			
				
	
	
		
			18 lines
		
	
	
		
			283 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			283 B
		
	
	
	
		
			Python
		
	
	
	
	
	
Import("env")
 | 
						|
 | 
						|
env.Append(
 | 
						|
    LINT_SOURCES=[
 | 
						|
        Dir("."),
 | 
						|
    ]
 | 
						|
)
 | 
						|
 | 
						|
 | 
						|
libenv = env.Clone(FW_LIB_NAME="furi")
 | 
						|
libenv.ApplyLibFlags()
 | 
						|
 | 
						|
sources = libenv.GlobRecursive("*.c")
 | 
						|
 | 
						|
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
 | 
						|
libenv.Install("${LIB_DIST_DIR}", lib)
 | 
						|
Return("lib")
 |