Browse Source

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

fix for PIO Core > 4.x
master
rjwats 5 years ago
committed by GitHub
parent
commit
69caa841a3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      timelib_fix.py

5
timelib_fix.py

@ -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')))
Loading…
Cancel
Save