mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 18:17:52 -05:00
51 lines
1.1 KiB
JSON
51 lines
1.1 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"command": "go",
|
|
"type": "shell",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
},
|
|
"tasks": [
|
|
{
|
|
"label": "build",
|
|
"args": ["v2ray.com/core/..."],
|
|
"group": "build",
|
|
"problemMatcher": {
|
|
"owner": "go",
|
|
"fileLocation": ["relative", "${workspaceRoot}"],
|
|
"pattern": {
|
|
"regexp": "^([^:]+\\.go):(\\d+):(.*)",
|
|
"file": 1,
|
|
"line": 2,
|
|
"message": 3
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"label": "test",
|
|
"args": ["-p", "1", "v2ray.com/core/..."],
|
|
"group": "test"
|
|
},
|
|
{
|
|
"label": "Escape Analysis",
|
|
"type": "shell",
|
|
"command": "go build -gcflags -m .",
|
|
"problemMatcher": {
|
|
"pattern": {
|
|
"regexp": "^(.*):(.*):(.*): (.*)$",
|
|
"file": 1,
|
|
"line": 2,
|
|
"column": 3,
|
|
"message": 4
|
|
},
|
|
"fileLocation": ["relative", "${fileDirname}"]
|
|
},
|
|
"options": {
|
|
"cwd": "${fileDirname}"
|
|
}
|
|
}
|
|
]
|
|
} |