mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2024-11-21 11:55:11 +01:00
Add vscode task to Generate files (#305)
This commit is contained in:
parent
fa8d076e4f
commit
949563c6f0
@ -11,6 +11,7 @@
|
||||
// protobuf
|
||||
"pbkit.vscode-pbkit"
|
||||
],
|
||||
"postCreateCommand": "pip3 install -e .",
|
||||
"settings": {
|
||||
"python.languageServer": "Pylance",
|
||||
"python.pythonPath": "/usr/bin/python3",
|
||||
@ -34,4 +35,4 @@
|
||||
"**/.vscode/*.json": "jsonc"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
3
.gitignore
vendored
3
.gitignore
vendored
@ -81,7 +81,8 @@ share/*
|
||||
ctags.tmp
|
||||
|
||||
# Visual Studio Code
|
||||
.vscode
|
||||
.vscode/
|
||||
!.vscode/tasks.json
|
||||
|
||||
# Built docs
|
||||
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