{ "version": "2.0.0", "tasks": [ { "label": "Build", "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": { "source": "zig", "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, } } }, { "label": "Test", "type": "shell", "command": "$(find zig-cache -name test) src/main.zig", "group": { "kind": "test", "isDefault": true }, }, { "label": "Build Test", "type": "shell", "command": "zig build test", "group": "test" }, ], }