Do not resolve project dependencies on for the "cleanall" target // Resolve #4344

This commit is contained in:
Ivan Kravets
2022-07-29 20:03:14 +03:00
parent 7c9e0393f8
commit 537558d410
2 changed files with 2 additions and 1 deletions

View File

@ -18,6 +18,7 @@ PlatformIO Core 6
* Improved device port finder when using dual channel UART converter (`issue #4367 <https://github.com/platformio/platformio-core/issues/4367>`_)
* Improved project dependency resolving when using the `pio project init --ide <https://docs.platformio.org/en/latest/core/userguide/project/cmd_init.html>`__ command
* Do not resolve project dependencies on for the ``cleanall`` target (`issue #4344 <https://github.com/platformio/platformio-core/issues/4344>`_)
* Fixed an issue when escaping macros/defines for IDE integration (`issue #4360 <https://github.com/platformio/platformio-core/issues/4360>`_)
6.1.3 (2022-07-18)

View File

@ -79,7 +79,7 @@ class EnvironmentProcessor:
if "monitor" in build_targets:
build_targets.remove("monitor")
if "clean" not in build_targets:
if not set(["clean", "cleanall"]) & set(build_targets):
install_project_env_dependencies(
self.name,
{