Prep tasmota source subdirs

This commit is contained in:
Theo Arends 2022-06-01 14:43:23 +02:00
parent e8376885ff
commit f20fd158b6
2 changed files with 14 additions and 1 deletions

View File

@ -0,0 +1,12 @@
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)

View File

@ -64,7 +64,8 @@ lib_extra_dirs =
;bin_dir = /tmp/bin_files/
[scripts_defaults]
extra_scripts = pio-tools/strip-floats.py
extra_scripts = pre:pio-tools/pre_source_dir.py
pio-tools/strip-floats.py
pio-tools/name-firmware.py
pio-tools/gzip-firmware.py
pio-tools/override_copy.py