2020-12-13 20:24:26 +01:00
|
|
|
{
|
2021-06-22 16:37:05 +02:00
|
|
|
"version": "2.0.0",
|
|
|
|
"tasks": [
|
|
|
|
{
|
2023-04-03 21:44:46 +02:00
|
|
|
"label": "Run Dashboard",
|
2021-06-22 16:37:05 +02:00
|
|
|
"type": "shell",
|
2023-04-03 21:44:46 +02:00
|
|
|
"command": "${command:python.interpreterPath}",
|
|
|
|
"args": [
|
|
|
|
"-m",
|
|
|
|
"esphome",
|
|
|
|
"dashboard",
|
|
|
|
"config/"
|
|
|
|
],
|
2021-06-22 16:37:05 +02:00
|
|
|
"problemMatcher": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "clang-tidy",
|
|
|
|
"type": "shell",
|
2023-04-03 21:44:46 +02:00
|
|
|
"command": "${command:python.interpreterPath}",
|
|
|
|
"args": [
|
|
|
|
"./script/clang-tidy"
|
|
|
|
],
|
2021-06-22 16:37:05 +02:00
|
|
|
"problemMatcher": [
|
2020-12-13 20:24:26 +01:00
|
|
|
{
|
2021-06-22 16:37:05 +02:00
|
|
|
"owner": "clang-tidy",
|
|
|
|
"fileLocation": "absolute",
|
|
|
|
"pattern": [
|
|
|
|
{
|
|
|
|
"regexp": "^(.*):(\\d+):(\\d+):\\s+(error):\\s+(.*) \\[([a-z0-9,\\-]+)\\]\\s*$",
|
|
|
|
"file": 1,
|
|
|
|
"line": 2,
|
|
|
|
"column": 3,
|
|
|
|
"severity": 4,
|
|
|
|
"message": 5
|
|
|
|
}
|
|
|
|
]
|
2020-12-13 20:24:26 +01:00
|
|
|
}
|
2021-06-22 16:37:05 +02:00
|
|
|
]
|
2023-06-12 07:00:34 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Generate proto files",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "${command:python.interpreterPath}",
|
|
|
|
"args": [
|
|
|
|
"./script/api_protobuf/api_protobuf.py"
|
|
|
|
],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "never",
|
|
|
|
"close": true,
|
|
|
|
"panel": "new"
|
|
|
|
},
|
|
|
|
"problemMatcher": []
|
2021-06-22 16:37:05 +02:00
|
|
|
}
|
|
|
|
]
|
2020-12-13 20:24:26 +01:00
|
|
|
}
|