mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-31 02:27:13 +02:00
Skip empty __cores__ dir for project generator
This commit is contained in:
@ -177,9 +177,11 @@ def DumpIDEData(env):
|
|||||||
# ignore user's specified libs
|
# ignore user's specified libs
|
||||||
if name in env.get("LIB_IGNORE", []):
|
if name in env.get("LIB_IGNORE", []):
|
||||||
continue
|
continue
|
||||||
if name == "__cores__" and isdir(join(libs_dir, name, BOARD_CORE)):
|
if name == "__cores__":
|
||||||
return _append_lib_includes(
|
if isdir(join(libs_dir, name, BOARD_CORE)):
|
||||||
|
_append_lib_includes(
|
||||||
join(libs_dir, name, BOARD_CORE), includes)
|
join(libs_dir, name, BOARD_CORE), includes)
|
||||||
|
return
|
||||||
|
|
||||||
include = (
|
include = (
|
||||||
join(libs_dir, name, "src")
|
join(libs_dir, name, "src")
|
||||||
|
Reference in New Issue
Block a user