Minor fixes

This commit is contained in:
Ivan Kravets
2020-08-13 20:19:27 +03:00
parent 26fdd0a62c
commit ecc369c2f8
2 changed files with 7 additions and 4 deletions

View File

@@ -26,9 +26,9 @@ from platformio.commands.system.completion import (
install_completion_code,
uninstall_completion_code,
)
from platformio.managers.package import PackageManager
from platformio.managers.platform import PlatformManager
from platformio.package.manager.library import LibraryPackageManager
from platformio.package.manager.tool import ToolPackageManager
from platformio.project.config import ProjectConfig
@@ -80,9 +80,11 @@ def system_info(json_output):
"value": len(PlatformManager().get_installed()),
}
data["package_tool_nums"] = {
"title": "Package Tools",
"title": "Tools & Toolchains",
"value": len(
PackageManager(project_config.get_optional_dir("packages")).get_installed()
ToolPackageManager(
project_config.get_optional_dir("packages")
).get_installed()
),
}

View File

@@ -485,7 +485,7 @@ depends=First Library (=2.0.0), Second Library (>=1.2.0), Third
contents = """
name=Mozzi
version=1.0.3
author=Tim Barrass and contributors as documented in source, and at https://github.com/sensorium/Mozzi/graphs/contributors
author=Lorem Ipsum is simply dummy text of the printing and typesetting industry Lorem Ipsum has been the industry's standard dummy text ever since the 1500s when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries but also the leap into electronic typesetting remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
maintainer=Tim Barrass <faveflave@gmail.com>
sentence=Sound synthesis library for Arduino
paragraph=With Mozzi, you can construct sounds using familiar synthesis units like oscillators, delays, filters and envelopes.
@@ -504,6 +504,7 @@ includes=MozziGuts.h
),
).as_dict()
errors = None
try:
ManifestSchema().load_manifest(raw_data)
except ManifestValidationError as e: