vscode: Add tasks for running automation.build/.flash/.test
Convienience tasks when you need to test automation stuff locally.
When you run one of these tasks you will be prompted for the instance number.
"command": "echo \"Not supported for Windows\""
},
"problemMatcher": []
- }
+ },
+ {
+ "label": "automation.build",
+ "type": "shell",
+ "options": { "cwd": "${workspaceFolder}/.vscode" },
+ "command": "inv -r ${workspaceFolder}/port/platform/common/automation automation.build ${input:instance}",
+ "problemMatcher": []
+ },
+ {
+ "label": "automation.flash",
+ "type": "shell",
+ "options": { "cwd": "${workspaceFolder}/.vscode" },
+ "command": "inv -r ${workspaceFolder}/port/platform/common/automation automation.flash ${input:instance}",
+ "problemMatcher": []
+ },
+ {
+ "label": "automation.test",
+ "type": "shell",
+ "options": { "cwd": "${workspaceFolder}/.vscode" },
+ "command": "inv -r ${workspaceFolder}/port/platform/common/automation automation.test ${input:instance}",
+ "problemMatcher": []
+ },
],
"inputs": [
{
"10",
"11",
"12",
- "13.0.0", "13.0.1", "13.1",
+ "13.0.0", "13.1",
"14",
- "15.0.0", "15.0.1", "15.1",
+ "15.0.0", "15.1",
"16",
"17",
"18",
- "19"
+ "19",
+ "20",
+ "21",
+ "22",
+ "23",
+ "24"
],
"default": "component"
},
