mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
[internal] Add problem matcher for Zig
This commit is contained in:
89
.vscode/tasks.json
vendored
89
.vscode/tasks.json
vendored
@@ -2,50 +2,57 @@
|
|||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"tasks": [
|
"tasks": [
|
||||||
{
|
{
|
||||||
"type": "process",
|
|
||||||
"label": "Install Dependencies",
|
|
||||||
"command": "scripts/all-dependencies.sh",
|
|
||||||
"windows": {
|
|
||||||
"command": "scripts/all-dependencies.ps1",
|
|
||||||
},
|
|
||||||
"icon": {
|
|
||||||
"id": "arrow-down",
|
|
||||||
},
|
|
||||||
"options": {
|
|
||||||
"cwd": "${workspaceFolder}",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "process",
|
|
||||||
"label": "Setup Environment",
|
|
||||||
"dependsOn": ["Install Dependencies"],
|
|
||||||
"command": "scripts/setup.sh",
|
|
||||||
"windows": {
|
|
||||||
"command": "scripts/setup.ps1",
|
|
||||||
},
|
|
||||||
"icon": {
|
|
||||||
"id": "check",
|
|
||||||
},
|
|
||||||
"options": {
|
|
||||||
"cwd": "${workspaceFolder}",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "process",
|
|
||||||
"label": "Build Bun",
|
"label": "Build Bun",
|
||||||
"dependsOn": ["Setup Environment"],
|
"type": "shell",
|
||||||
"command": "bun",
|
"command": "bun run build",
|
||||||
"args": ["run", "build"],
|
"group": {
|
||||||
"icon": {
|
"kind": "build",
|
||||||
"id": "gear",
|
"isDefault": true,
|
||||||
},
|
},
|
||||||
"options": {
|
"problemMatcher": [
|
||||||
"cwd": "${workspaceFolder}",
|
{
|
||||||
|
"owner": "zig",
|
||||||
|
"fileLocation": ["relative", "${workspaceFolder}"],
|
||||||
|
"pattern": [
|
||||||
|
{
|
||||||
|
"regexp": "^(.+?):(\\d+):(\\d+): (error|warning|note): (.+)$",
|
||||||
|
"file": 1,
|
||||||
|
"line": 2,
|
||||||
|
"column": 3,
|
||||||
|
"severity": 4,
|
||||||
|
"message": 5,
|
||||||
},
|
},
|
||||||
"isBuildCommand": true,
|
{
|
||||||
"runOptions": {
|
"regexp": "^\\s+(.+)$",
|
||||||
"instanceLimit": 1,
|
"message": 1,
|
||||||
"reevaluateOnRerun": true,
|
"loop": true,
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"owner": "clang",
|
||||||
|
"fileLocation": ["relative", "${workspaceFolder}"],
|
||||||
|
"pattern": [
|
||||||
|
{
|
||||||
|
"regexp": "^([^:]+):(\\d+):(\\d+):\\s+(warning|error|note|remark):\\s+(.*)$",
|
||||||
|
"file": 1,
|
||||||
|
"line": 2,
|
||||||
|
"column": 3,
|
||||||
|
"severity": 4,
|
||||||
|
"message": 5,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"regexp": "^\\s*(.*)$",
|
||||||
|
"message": 1,
|
||||||
|
"loop": true,
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
"presentation": {
|
||||||
|
"reveal": "always",
|
||||||
|
"panel": "shared",
|
||||||
|
"clear": true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user