forked from platformio/platformio-core
Automatically install dependencies of the local (private) libraries // Resolve #2910
This commit is contained in:
1 parent
fcb81ae074
commit
be8f842061
3 files changed
+47
No files matched your search
@@ -216,6 +216,10 @@ def _install_project_env_libraries(project_env, options):
|
||||
skip_dependencies=options.get("skip_dependencies"),
|
||||
force=options.get("force"),
|
||||
)
|
||||
# install dependencies from the priate libraries
|
||||
plm = LibraryPackageManager(os.path.join(config.get("platformio", "lib_dir")))
|
||||
for pkg in plm.get_installed():
|
||||
lm.install_dependencies(pkg, print_header=False)
|
||||
return not already_up_to_date
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user