Fix cache system when project's root directory is used as src_dir // Resolve #635

This commit is contained in:
Ivan Kravets
2016-04-27 00:00:40 +03:00
parent eaf325b003
commit b036a82203
2 changed files with 3 additions and 1 deletions

View File

@ -44,6 +44,8 @@ PlatformIO 2.0
* Fixed broken compilation for Atmel SAMD based boards except Arduino Due
(`issue #598 <https://github.com/platformio/platformio/issues/598>`_)
* Fixed firmware uploading using serial port with spaces in the path
* Fixed cache system when project's root directory is used as ``src_dir``
(`issue #635 <https://github.com/platformio/platformio/issues/635>`_)
2.8.6 (2016-03-22)
~~~~~~~~~~~~~~~~~~

View File

@ -242,6 +242,6 @@ def calculate_project_hash():
for root, _, files in walk(d):
for f in files:
path = join(root, f)
if not any([s in path for s in (".git", ".svn")]):
if not any([s in path for s in (".git", ".svn", ".pioenvs")]):
structure.append(path)
return sha1(",".join(sorted(structure))).hexdigest() if structure else ""