mirror of https://github.com/arendst/Tasmota.git
13 lines
265 B
Python
13 lines
265 B
Python
|
import glob
|
||
|
import os
|
||
|
|
||
|
Import("env")
|
||
|
|
||
|
def FindInoNodes(env):
|
||
|
src_dir = glob.escape(env.subst("$PROJECT_SRC_DIR"))
|
||
|
return env.Glob(os.path.join(src_dir, "*.ino")) + env.Glob(
|
||
|
os.path.join(src_dir, "ino_*", "*.ino")
|
||
|
)
|
||
|
|
||
|
env.AddMethod(FindInoNodes)
|