mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-31 18:44:27 +02:00
Better wording with dependency resolving
This commit is contained in:
@@ -100,9 +100,7 @@ def install_project_dependencies(options):
|
|||||||
if environments and env not in environments:
|
if environments and env not in environments:
|
||||||
continue
|
continue
|
||||||
if not options.get("silent"):
|
if not options.get("silent"):
|
||||||
click.echo(
|
click.echo("Resolving %s dependencies..." % click.style(env, fg="cyan"))
|
||||||
"Resolving %s environment packages..." % click.style(env, fg="cyan")
|
|
||||||
)
|
|
||||||
already_up_to_date = not install_project_env_dependencies(env, options)
|
already_up_to_date = not install_project_env_dependencies(env, options)
|
||||||
if not options.get("silent") and already_up_to_date:
|
if not options.get("silent") and already_up_to_date:
|
||||||
click.secho("Already up-to-date.", fg="green")
|
click.secho("Already up-to-date.", fg="green")
|
||||||
|
@@ -163,9 +163,7 @@ def list_project_packages(options):
|
|||||||
for env in config.envs():
|
for env in config.envs():
|
||||||
if environments and env not in environments:
|
if environments and env not in environments:
|
||||||
continue
|
continue
|
||||||
click.echo(
|
click.echo("Resolving %s dependencies..." % click.style(env, fg="cyan"))
|
||||||
"Resolving %s environment packages..." % click.style(env, fg="cyan")
|
|
||||||
)
|
|
||||||
found = False
|
found = False
|
||||||
if not only_packages or only_platform_packages:
|
if not only_packages or only_platform_packages:
|
||||||
_found = print_project_env_platform_packages(env, options)
|
_found = print_project_env_platform_packages(env, options)
|
||||||
|
@@ -92,9 +92,7 @@ def uninstall_project_dependencies(options):
|
|||||||
if environments and env not in environments:
|
if environments and env not in environments:
|
||||||
continue
|
continue
|
||||||
if not options["silent"]:
|
if not options["silent"]:
|
||||||
click.echo(
|
click.echo("Resolving %s dependencies..." % click.style(env, fg="cyan"))
|
||||||
"Resolving %s environment packages..." % click.style(env, fg="cyan")
|
|
||||||
)
|
|
||||||
already_up_to_date = not uninstall_project_env_dependencies(env, options)
|
already_up_to_date = not uninstall_project_env_dependencies(env, options)
|
||||||
if not options["silent"] and already_up_to_date:
|
if not options["silent"] and already_up_to_date:
|
||||||
click.secho("Already up-to-date.", fg="green")
|
click.secho("Already up-to-date.", fg="green")
|
||||||
|
@@ -95,9 +95,7 @@ def update_project_dependencies(options):
|
|||||||
if environments and env not in environments:
|
if environments and env not in environments:
|
||||||
continue
|
continue
|
||||||
if not options["silent"]:
|
if not options["silent"]:
|
||||||
click.echo(
|
click.echo("Resolving %s dependencies..." % click.style(env, fg="cyan"))
|
||||||
"Resolving %s environment packages..." % click.style(env, fg="cyan")
|
|
||||||
)
|
|
||||||
already_up_to_date = not update_project_env_dependencies(env, options)
|
already_up_to_date = not update_project_env_dependencies(env, options)
|
||||||
if not options["silent"] and already_up_to_date:
|
if not options["silent"] and already_up_to_date:
|
||||||
click.secho("Already up-to-date.", fg="green")
|
click.secho("Already up-to-date.", fg="green")
|
||||||
|
Reference in New Issue
Block a user