2022-08-10 15:52:16 +02:00
|
|
|
{
|
2022-09-30 20:36:33 +02:00
|
|
|
"version": "2.0.0",
|
2022-08-10 15:52:16 +02:00
|
|
|
|
2022-09-30 20:36:33 +02:00
|
|
|
"tasks": [
|
|
|
|
{
|
2022-10-17 13:20:35 +02:00
|
|
|
"label": "Build Debug",
|
2022-09-30 20:36:33 +02:00
|
|
|
"type": "shell",
|
|
|
|
"command": "zig build",
|
|
|
|
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
|
|
|
|
"presentation": {
|
|
|
|
"echo": true,
|
|
|
|
"reveal": "always",
|
|
|
|
"focus": true,
|
|
|
|
"panel": "shared",
|
|
|
|
"showReuseMessage": true,
|
|
|
|
"clear": true,
|
|
|
|
"revealProblems": "onProblem",
|
|
|
|
},
|
|
|
|
|
|
|
|
"problemMatcher": {
|
2022-10-04 15:19:34 +02:00
|
|
|
"source": "zig",
|
2022-09-30 20:36:33 +02:00
|
|
|
"owner": "cpptools",
|
|
|
|
|
|
|
|
"fileLocation": [
|
|
|
|
"autoDetect",
|
|
|
|
"${cwd}",
|
|
|
|
],
|
|
|
|
|
|
|
|
"pattern": {
|
|
|
|
"regexp": "^(.*?):(\\d+):(\\d*):?\\s+(?:fatal\\s+)?(warning|error):\\s+(.*)$",
|
|
|
|
"file": 1,
|
|
|
|
"line": 2,
|
|
|
|
"column": 3,
|
|
|
|
"severity": 4,
|
|
|
|
"message": 5,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-10-02 13:56:19 +02:00
|
|
|
{
|
|
|
|
"label": "Build Test",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "zig build test",
|
|
|
|
"group": "test"
|
|
|
|
},
|
2022-09-30 20:36:33 +02:00
|
|
|
],
|
2022-08-10 15:52:16 +02:00
|
|
|
}
|