mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Skip converting if INO nodes are not found
This commit is contained in:
@ -179,6 +179,8 @@ class InoToCPPConverter(object):
|
||||
def ConvertInoToCpp(env):
|
||||
ino_nodes = (env.Glob(join("$PROJECTSRC_DIR", "*.ino")) +
|
||||
env.Glob(join("$PROJECTSRC_DIR", "*.pde")))
|
||||
if not ino_nodes:
|
||||
return
|
||||
c = InoToCPPConverter(env)
|
||||
out_file = c.convert(ino_nodes)
|
||||
|
||||
|
Reference in New Issue
Block a user