forked from platformio/platformio-core
Improve parsing "author" field of library.properties manfiest
This commit is contained in:
1 parent
40d6847c96
commit
42fd284560
2 files changed
+12
-6
No files matched your search
@@ -198,7 +198,7 @@ def test_library_properties_parser():
|
||||
contents = """
|
||||
name=TestPackage
|
||||
version=1.2.3
|
||||
author=SomeAuthor <info AT author.com>
|
||||
author=SomeAuthor <info AT author.com>, Another Author (nickname) <www.example.com>
|
||||
sentence=This is Arduino library
|
||||
customField=Custom Value
|
||||
depends=First Library (=2.0.0), Second Library (>=1.2.0), Third
|
||||
@@ -218,7 +218,10 @@ ignore_empty_field=
|
||||
"export": {
|
||||
"exclude": ["extras", "docs", "tests", "test", "*.doxyfile", "*.pdf"]
|
||||
},
|
||||
"authors": [{"email": "info@author.com", "name": "SomeAuthor"}],
|
||||
"authors": [
|
||||
{"email": "info@author.com", "name": "SomeAuthor"},
|
||||
{"name": "Another Author"},
|
||||
],
|
||||
"keywords": ["uncategorized"],
|
||||
"customField": "Custom Value",
|
||||
"depends": "First Library (=2.0.0), Second Library (>=1.2.0), Third",
|
||||
|
||||
Reference in new issue
Block a user