mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Parse .pde as .ino file
This commit is contained in:
@ -165,8 +165,9 @@ def ConvertInotoCpp(env):
|
|||||||
remove(f)
|
remove(f)
|
||||||
|
|
||||||
tmpcpp = []
|
tmpcpp = []
|
||||||
|
items = (env.Glob(join("$PROJECT_DIR", "src", "*.ino")) +
|
||||||
for item in env.Glob(join("$PROJECT_DIR", "src", "*.ino")):
|
env.Glob(join("$PROJECT_DIR", "src", "*.pde")))
|
||||||
|
for item in items:
|
||||||
cppfile = item.get_path()[:-3] + "cpp"
|
cppfile = item.get_path()[:-3] + "cpp"
|
||||||
if isfile(cppfile):
|
if isfile(cppfile):
|
||||||
continue
|
continue
|
||||||
|
Reference in New Issue
Block a user