mirror of
https://github.com/esphome/esphome.git
synced 2024-11-05 09:16:46 +01:00
60 lines
1.3 KiB
JSON
60 lines
1.3 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Run Dashboard",
|
|
"type": "shell",
|
|
"command": "${command:python.interpreterPath}",
|
|
"args": [
|
|
"-m",
|
|
"esphome",
|
|
"dashboard",
|
|
"config/"
|
|
],
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "clang-tidy",
|
|
"type": "shell",
|
|
"command": "${command:python.interpreterPath}",
|
|
"args": [
|
|
"./script/clang-tidy"
|
|
],
|
|
"problemMatcher": [
|
|
{
|
|
"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
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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": []
|
|
}
|
|
]
|
|
}
|