mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 05:24:53 +01:00
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:
parent
041b4ec66e
commit
f46b3d15cd
2 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue