Skip to content

Commit 938eefa

Browse files
author
danecreekphotography
authored
Add VSCode build tasks (wled#1421)
* Add VSCode build tasks * Split to two build tasks * Add combined task
1 parent eccc5e6 commit 938eefa

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

.vscode/tasks.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "Build: HTML and binary",
6+
"dependsOn": [
7+
"Build: HTML only",
8+
"Build: binary only"
9+
],
10+
"dependsOrder": "sequence",
11+
"problemMatcher": [
12+
"$platformio",
13+
],
14+
},
15+
{
16+
"type": "PlatformIO",
17+
"label": "Build: binary only",
18+
"task": "Build",
19+
"group": {
20+
"kind": "build",
21+
"isDefault": true,
22+
},
23+
"problemMatcher": [
24+
"$platformio"
25+
],
26+
"presentation": {
27+
"panel": "shared"
28+
}
29+
},
30+
{
31+
"type": "npm",
32+
"script": "build",
33+
"group": "build",
34+
"problemMatcher": [],
35+
"label": "Build: HTML only",
36+
"detail": "npm run build",
37+
"presentation": {
38+
"panel": "shared"
39+
}
40+
}
41+
]
42+
}

0 commit comments

Comments
 (0)