File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
platformio/package/commands Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 2020
2121from platformio import fs
2222from platformio .package .exception import UnknownPackageError
23+ from platformio .package .manager .core import get_core_package_dir
2324from platformio .package .manager .library import LibraryPackageManager
2425from platformio .package .manager .platform import PlatformPackageManager
2526from platformio .package .manager .tool import ToolPackageManager
@@ -120,7 +121,7 @@ def install_project_env_dependencies(project_env, options=None):
120121 # custom tools
121122 if options .get ("tools" ):
122123 installed_conds .append (_install_project_env_custom_tools (project_env , options ))
123- # custom ibraries
124+ # custom libraries
124125 if options .get ("libraries" ):
125126 installed_conds .append (
126127 _install_project_env_custom_libraries (project_env , options )
@@ -152,6 +153,8 @@ def _install_project_env_platform(project_env, options):
152153 skip_dependencies = options .get ("skip_dependencies" ),
153154 force = options .get ("force" ),
154155 )
156+ # ensure SCons is installed
157+ get_core_package_dir ("tool-scons" )
155158 return not already_up_to_date
156159
157160
You can’t perform that action at this time.
0 commit comments