From b036a822036ba6d2f7407fe83e6f3bc52d4a7e50 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Wed, 27 Apr 2016 00:00:40 +0300 Subject: [PATCH] Fix cache system when project's root directory is used as `src_dir` // Resolve #635 --- HISTORY.rst | 2 ++ platformio/commands/run.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/HISTORY.rst b/HISTORY.rst index 30bad2b5..87a4f77b 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -44,6 +44,8 @@ PlatformIO 2.0 * Fixed broken compilation for Atmel SAMD based boards except Arduino Due (`issue #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 `_) 2.8.6 (2016-03-22) ~~~~~~~~~~~~~~~~~~ diff --git a/platformio/commands/run.py b/platformio/commands/run.py index 0159de87..30a0f1c4 100644 --- a/platformio/commands/run.py +++ b/platformio/commands/run.py @@ -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 ""