mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 18:17:13 +02:00
Fix cache system when project's root directory is used as src_dir
// Resolve #635
This commit is contained in:
@ -44,6 +44,8 @@ PlatformIO 2.0
|
|||||||
* Fixed broken compilation for Atmel SAMD based boards except Arduino Due
|
* Fixed broken compilation for Atmel SAMD based boards except Arduino Due
|
||||||
(`issue #598 <https://github.com/platformio/platformio/issues/598>`_)
|
(`issue #598 <https://github.com/platformio/platformio/issues/598>`_)
|
||||||
* Fixed firmware uploading using serial port with spaces in the path
|
* 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)
|
2.8.6 (2016-03-22)
|
||||||
~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~
|
||||||
|
@ -242,6 +242,6 @@ def calculate_project_hash():
|
|||||||
for root, _, files in walk(d):
|
for root, _, files in walk(d):
|
||||||
for f in files:
|
for f in files:
|
||||||
path = join(root, f)
|
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)
|
structure.append(path)
|
||||||
return sha1(",".join(sorted(structure))).hexdigest() if structure else ""
|
return sha1(",".join(sorted(structure))).hexdigest() if structure else ""
|
||||||
|
Reference in New Issue
Block a user