2026-05-15 14:15:17 +03:00

63 lines
1.6 KiB
JSON

{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Build (prod)",
"type": "shell",
"command": "make -C ${workspaceFolder}/firmware",
"problemMatcher": ["$gcc"],
"group": "build"
},
{
"label": "Clean and build (prod)",
"type": "shell",
"command": "make -C ${workspaceFolder}/firmware clean && make -C ${workspaceFolder}/firmware",
"problemMatcher": ["$gcc"],
"group": "build",
"presentation": {
"close": true,
"showReuseMessage": false
}
},
{
"label": "Clean and build (debug)",
"type": "shell",
"command": "make -C ${workspaceFolder}/firmware clean && make -C ${workspaceFolder}/firmware DEBUG=true",
"problemMatcher": ["$gcc"],
"group": "build",
"presentation": {
"close": true,
"showReuseMessage": false
}
},
{
"label": "Debug server (bloom)",
"type": "shell",
"command": "bloom",
"presentation": {
"echo": true,
"reveal": "always",
"panel": "shared",
"focus": true,
"showReuseMessage": false,
"clear": false,
"close": true
},
"problemMatcher": {
"owner": "custom",
"pattern": {
"regexp": "."
},
"background": {
"activeOnStart": true,
"beginsPattern": "DebugServer ready",
"endsPattern": "DebugServer ready"
}
},
"isBackground": true,
"dependsOn": "Clean and build (debug)"
}
]
}