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",