Bump platformio from 4.3.4 to 5.0.1 (#1275)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Otto Winter <otto@otto-winter.com>
This commit is contained in:
dependabot[bot] 2020-09-16 12:38:33 +02:00 committed by GitHub
parent 041b4ec66e
commit f46b3d15cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -22,13 +22,13 @@ def patch_structhash():
from os import makedirs
def patched_clean_build_dir(build_dir, *args):
from platformio import util
from platformio import fs
from platformio.project.helpers import get_project_dir
platformio_ini = join(get_project_dir(), "platformio.ini")
# if project's config is modified
if isdir(build_dir) and getmtime(platformio_ini) > getmtime(build_dir):
util.rmtree_(build_dir)
fs.rmtree(build_dir)
if not isdir(build_dir):
makedirs(build_dir)

View file

@ -8,6 +8,6 @@ tzlocal==2.1
pytz==2020.1
pyserial==3.4
ifaddr==0.1.7
platformio==4.3.4
platformio==5.0.1
esptool==2.8
click==7.1.2