Merge pull request #58 from rjwats/56-PlatformIO4.xFix

fix for PIO Core > 4.x
This commit is contained in:
rjwats 2019-11-27 09:42:33 +00:00 committed by GitHub
commit 69caa841a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,5 +32,8 @@ def deleteTimeHeader(libDepsDir):
# old lib deps directory
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')))
# >4.x lib deps directory
deleteTimeHeader(os.path.join(env.subst('$PROJECT_LIBDEPS_DIR'), env.subst('$PIOENV')))