fix for PIO Core > 4.x
This commit is contained in:
parent
67eb9d4017
commit
5976a443ce
@ -32,5 +32,8 @@ def deleteTimeHeader(libDepsDir):
|
|||||||
# old lib deps directory
|
# old lib deps directory
|
||||||
deleteTimeHeader(os.path.join(env.subst('$PROJECT_DIR'), '.piolibdeps'))
|
deleteTimeHeader(os.path.join(env.subst('$PROJECT_DIR'), '.piolibdeps'))
|
||||||
|
|
||||||
# new lib deps directory
|
# pre 4.x lib deps directory
|
||||||
deleteTimeHeader(os.path.join(env.subst('$PROJECTLIBDEPS_DIR'), env.subst('$PIOENV')))
|
deleteTimeHeader(os.path.join(env.subst('$PROJECTLIBDEPS_DIR'), env.subst('$PIOENV')))
|
||||||
|
|
||||||
|
# >4.x lib deps directory
|
||||||
|
deleteTimeHeader(os.path.join(env.subst('$PROJECT_LIBDEPS_DIR'), env.subst('$PIOENV')))
|
||||||
|
Loading…
Reference in New Issue
Block a user