From f79af7fed896ea161ee4470c8ef2f7336883ea84 Mon Sep 17 00:00:00 2001 From: Laurens Valk Date: Sat, 19 Oct 2024 14:29:40 +0200 Subject: [PATCH] .vscode: Add task for deploying Prime Hub. --- .vscode/tasks.json | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 73cba86f3..d7244047d 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -18,6 +18,34 @@ "type": "shell", "command": "make movehub -j" }, + { + "label": "build and deploy primehub", + "type": "shell", + "command": "make", + "args": ["-j", "deploy"], + "group": { + "kind": "build", + "isDefault": true + }, + "options": { + "cwd": "${workspaceFolder}/bricks/primehub" + }, + "problemMatcher": [ + { + "owner": "cpp", + "fileLocation": ["relative", "${workspaceFolder}/bricks/primehub"], + "pattern": { + "regexp": "^(.*?):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$", + "file": 1, + "line": 2, + "column": 3, + "severity": 4, + "message": 5 + } + } + ], + "detail": "Build the PrimeHub project" + }, { "label": "build virtualhub", "type": "shell",