Skip to content

Commit

Permalink
Fix cache system when project's root directory is used as src_dir //
Browse files Browse the repository at this point in the history
…Resolve #635
  • Loading branch information
ivankravets committed Apr 26, 2016
1 parent eaf325b commit b036a82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
~~~~~~~~~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion platformio/commands/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""

0 comments on commit b036a82

Please sign in to comment.