@@ -682,17 +682,16 @@ class IdeVSCode(IdeBase):
deploy_args += ["--port", args.port]
for package in args.package or []:
deploy_args += ["--package", package]
+ install_task = {
+ "label": install_task_name,
+ "type": "shell",
+ "command": run_install_deploy,
+ "args": deploy_args,
+ "problemMatcher": []
+ }
tasks_dict = {
"version": "2.0.0",
- "tasks": [
- {
- "label": install_task_name,
- "type": "shell",
- "command": run_install_deploy,
- "args": deploy_args,
- "problemMatcher": []
- }
- ]
+ "tasks": [install_task]
}
for cross_debug_config in self.cross_debug_configs:
if cross_debug_config.modified_recipe is not modified_recipe:
Extract the install/deploy task object before adding optional dependencies. This preserves existing task output and provides a shared insertion point for Cargo build/deploy ordering. AI-Generated: Uses GitHub Copilot Signed-off-by: Enguerrand de Ribaucourt <enguerrand.de-ribaucourt@savoirfairelinux.com> --- scripts/lib/devtool/ide_plugins/ide_code.py | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-)