Skip to content

Commit afb8d45

Browse files
committed
Ported Check & Compilation databased tasks over from nacelle
1 parent ed0e083 commit afb8d45

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

.vscode/tasks.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,42 @@
2727
"isDefault": false
2828
}
2929
},
30+
{
31+
"label": "Platformio: Check (Linux)",
32+
"type": "shell",
33+
"command": "~/.platformio/penv/bin/pio check",
34+
"group": {
35+
"kind": "test",
36+
"isDefault": false
37+
}
38+
},
39+
{
40+
"label": "Platformio: Check (Windows)",
41+
"type": "shell",
42+
"command": "${env:USERPROFILE}\\.platformio\\penv\\Scripts\\pio check",
43+
"group": {
44+
"kind": "test",
45+
"isDefault": false
46+
}
47+
},
48+
{
49+
"label": "Platformio: Generate Compilation Database (Linux)",
50+
"type": "shell",
51+
"command": "~/.platformio/penv/bin/pio run --target compiledb ",
52+
"group": {
53+
"kind": "build",
54+
"isDefault": false
55+
}
56+
},
57+
{
58+
"label": "Platformio: Generate Compilation Database (Windows)",
59+
"type": "shell",
60+
"command": "${env:USERPROFILE}\\.platformio\\penv\\Scripts\\pio run --target compiledb ",
61+
"group": {
62+
"kind": "build",
63+
"isDefault": false
64+
}
65+
},
3066
{
3167
"label": "Platformio Remote: Initalzie Remote Agent",
3268
"type": "shell",

0 commit comments

Comments
 (0)