mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2025-02-16 01:41:21 +01:00
Add vscode task to Generate files (#305)
This commit is contained in:
parent
fa8d076e4f
commit
949563c6f0
@ -11,6 +11,7 @@
|
|||||||
// protobuf
|
// protobuf
|
||||||
"pbkit.vscode-pbkit"
|
"pbkit.vscode-pbkit"
|
||||||
],
|
],
|
||||||
|
"postCreateCommand": "pip3 install -e .",
|
||||||
"settings": {
|
"settings": {
|
||||||
"python.languageServer": "Pylance",
|
"python.languageServer": "Pylance",
|
||||||
"python.pythonPath": "/usr/bin/python3",
|
"python.pythonPath": "/usr/bin/python3",
|
||||||
@ -34,4 +35,4 @@
|
|||||||
"**/.vscode/*.json": "jsonc"
|
"**/.vscode/*.json": "jsonc"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
3
.gitignore
vendored
3
.gitignore
vendored
@ -81,7 +81,8 @@ share/*
|
|||||||
ctags.tmp
|
ctags.tmp
|
||||||
|
|
||||||
# Visual Studio Code
|
# Visual Studio Code
|
||||||
.vscode
|
.vscode/
|
||||||
|
!.vscode/tasks.json
|
||||||
|
|
||||||
# Built docs
|
# Built docs
|
||||||
docs/build
|
docs/build
|
||||||
|
19
.vscode/tasks.json
vendored
Normal file
19
.vscode/tasks.json
vendored
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"version": "2.0.0",
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"label": "Generate proto files",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "script/gen-protoc",
|
||||||
|
"group": {
|
||||||
|
"kind": "build",
|
||||||
|
"isDefault": true
|
||||||
|
},
|
||||||
|
"presentation": {
|
||||||
|
"reveal": "never",
|
||||||
|
"panel": "new"
|
||||||
|
},
|
||||||
|
"problemMatcher": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user