mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-31 18:44:27 +02:00
ManifestPaser: handle examples from "Examples" folder
This commit is contained in:
@@ -172,6 +172,8 @@ class BaseManifestParser(object):
|
||||
def parse_examples_from_dir(package_dir):
|
||||
assert os.path.isdir(package_dir)
|
||||
examples_dir = os.path.join(package_dir, "examples")
|
||||
if not os.path.isdir(examples_dir):
|
||||
examples_dir = os.path.join(package_dir, "Examples")
|
||||
if not os.path.isdir(examples_dir):
|
||||
return None
|
||||
|
||||
|
Reference in New Issue
Block a user