forked from platformio/platformio-core
ManifetPatrser fixes (#3080)
* Skip broken examples declaration * Allow dots in keywords * Allow "+" in keywords
This commit is contained in:
1 parent
8febdc19ea
commit
76865a1730
3 files changed
+5
-3
No files matched your search
@@ -427,7 +427,9 @@ def test_package_json_model():
|
||||
|
||||
def test_examples_from_dir(tmpdir_factory):
|
||||
package_dir = tmpdir_factory.mktemp("project")
|
||||
package_dir.join("library.json").write('{"name": "pkg", "version": "1.0.0"}')
|
||||
package_dir.join("library.json").write(
|
||||
'{"name": "pkg", "version": "1.0.0", "examples": ["examples/*/*.pde"]}'
|
||||
)
|
||||
examples_dir = package_dir.mkdir("examples")
|
||||
|
||||
# PlatformIO project #1
|
||||
|
||||
Reference in new issue
Block a user