first commit
This commit is contained in:
commit
5893b00dd2
1669 changed files with 1982740 additions and 0 deletions
12
libraries/M5Unit-ENV/custom_script.py
Normal file
12
libraries/M5Unit-ENV/custom_script.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
Import("env")
|
||||
|
||||
EXCLUDE_FILES = (env.GetProjectOption("custom_exclude_src_files") or []).split(' ')
|
||||
print(EXCLUDE_FILES)
|
||||
|
||||
def skip_from_build(node):
|
||||
np = node.get_path()
|
||||
if any(ef in np for ef in EXCLUDE_FILES):
|
||||
return None
|
||||
return node
|
||||
|
||||
env.AddBuildMiddleware(skip_from_build, "*")
|
||||
Loading…
Add table
Add a link
Reference in a new issue