mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 01:57:13 +02:00
Fix an issue with the libraries that are git repositories // Resolve #49
This commit is contained in:
@ -8,6 +8,8 @@ Release History
|
||||
`platformio boards <http://docs.platformio.org/en/latest/userguide/cmd_boards.html>`__
|
||||
command which allows to return the output in `JSON <http://en.wikipedia.org/wiki/JSON>`_ format
|
||||
(`issue #42 <https://github.com/ivankravets/platformio/issues/42>`_)
|
||||
* Fixed an issue with the libraries that are git repositories (`issue #49 <https://github.com/ivankravets/platformio/issues/49>`_)
|
||||
|
||||
|
||||
0.10.2 (2015-01-06)
|
||||
-------------------
|
||||
|
@ -139,7 +139,10 @@ def VariantDirRecursive(env, variant_dir, src_dir, duplicate=True):
|
||||
if not dirnames:
|
||||
continue
|
||||
for dn in dirnames:
|
||||
env.VariantDir(join(variant_dir, dn), join(root, dn), duplicate)
|
||||
source_dir = join(root, dn)
|
||||
if ".git" in source_dir or ".svn" in source_dir:
|
||||
continue
|
||||
env.VariantDir(join(variant_dir, dn), source_dir, duplicate)
|
||||
variants.append(join(variant_dir, dn))
|
||||
return variants
|
||||
|
||||
|
Reference in New Issue
Block a user