mirror of
https://github.com/jmwtsn/qmk_firmware.git
synced 2026-06-03 19:53:31 -03:00
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
@@ -45,7 +45,7 @@ def strip_multiline_comment(string):
|
||||
|
||||
|
||||
def c_source_files(dir_names):
|
||||
"""Returns a list of all *.c, *.h, and *.cpp files for a given list of directories
|
||||
"""Returns a list of all *.c, *.h, *.cpp, and *.hpp files for a given list of directories
|
||||
|
||||
Args:
|
||||
|
||||
@@ -54,7 +54,7 @@ def c_source_files(dir_names):
|
||||
"""
|
||||
files = []
|
||||
for dir in dir_names:
|
||||
files.extend(file for file in Path(dir).glob('**/*') if file.suffix in ['.c', '.h', '.cpp'])
|
||||
files.extend(file for file in Path(dir).glob('**/*') if file.suffix in ['.c', '.h', '.cpp', '.hpp'])
|
||||
return files
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user