From 481de2331f82ee6576d44d8ec423d8201dcd1993 Mon Sep 17 00:00:00 2001 From: Adam Wulkiewicz Date: Thu, 20 Oct 2022 20:00:18 +0200 Subject: [PATCH] [BH-000] Add disk img building tasks for Harmony For Linux and RT1051. These tasks are also executed at the end of Configure and Build tasks. --- .vscode/tasks.json | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 021d15cda831849bf194b35c626e7955ded158e8..d4507d071dfa284e7105781048889d843767142d 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -78,11 +78,24 @@ "group": "build", "detail": "Build dir has to be configured with Cmake using Ninja", }, + { + "type": "shell", + "label": "Build BellHybrid Disk Image (Linux)", + "command": "ninja", + "args": [ + "BellHybrid-disk-img" + ], + "options": { + "cwd": "${workspaceFolder}/build-BellHybrid-linux-Debug" + }, + "group": "build", + "detail": "Build dir has to be configured with Cmake using Ninja", + }, { "type": "shell", "label": "Configure and Build BellHybrid (Linux)", "group": "build", - "dependsOn": ["Configure BellHybrid (Linux)", "Build BellHybrid (Linux)"], + "dependsOn": ["Configure BellHybrid (Linux)", "Build BellHybrid (Linux)", "Build BellHybrid Disk Image (Linux)"], "dependsOrder": "sequence", "detail": "Configure cmake project and build with Ninja", }, @@ -160,11 +173,24 @@ "group": "build", "detail": "Build dir has to be configured with Cmake using Ninja", }, + { + "type": "shell", + "label": "Build BellHybrid Disk Image (RT1051)", + "command": "ninja", + "args": [ + "BellHybrid-disk-img" + ], + "options": { + "cwd": "${workspaceFolder}/build-BellHybrid-rt1051-RelWithDebInfo" + }, + "group": "build", + "detail": "Build dir has to be configured with Cmake using Ninja", + }, { "type": "shell", "label": "Configure and Build BellHybrid (RT1051)", "group": "build", - "dependsOn": ["Configure BellHybrid (RT1051)", "Build BellHybrid (RT1051)"], + "dependsOn": ["Configure BellHybrid (RT1051)", "Build BellHybrid (RT1051)", "Build BellHybrid Disk Image (RT1051)"], "dependsOrder": "sequence", "detail": "Configure cmake project and build with Ninja", },