Add VSCode build tasks (#1421)
* Add VSCode build tasks * Split to two build tasks * Add combined task
This commit is contained in:
parent
eccc5e6d61
commit
938eefae9b
42
.vscode/tasks.json
vendored
Normal file
42
.vscode/tasks.json
vendored
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
{
|
||||||
|
"version": "2.0.0",
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"label": "Build: HTML and binary",
|
||||||
|
"dependsOn": [
|
||||||
|
"Build: HTML only",
|
||||||
|
"Build: binary only"
|
||||||
|
],
|
||||||
|
"dependsOrder": "sequence",
|
||||||
|
"problemMatcher": [
|
||||||
|
"$platformio",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "PlatformIO",
|
||||||
|
"label": "Build: binary only",
|
||||||
|
"task": "Build",
|
||||||
|
"group": {
|
||||||
|
"kind": "build",
|
||||||
|
"isDefault": true,
|
||||||
|
},
|
||||||
|
"problemMatcher": [
|
||||||
|
"$platformio"
|
||||||
|
],
|
||||||
|
"presentation": {
|
||||||
|
"panel": "shared"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "npm",
|
||||||
|
"script": "build",
|
||||||
|
"group": "build",
|
||||||
|
"problemMatcher": [],
|
||||||
|
"label": "Build: HTML only",
|
||||||
|
"detail": "npm run build",
|
||||||
|
"presentation": {
|
||||||
|
"panel": "shared"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user