2016-05-29 10:37:40 -04:00
|
|
|
{
|
2017-12-01 17:18:25 -05:00
|
|
|
"version": "2.0.0",
|
2016-05-29 10:37:40 -04:00
|
|
|
"command": "go",
|
2017-12-01 17:18:25 -05:00
|
|
|
"type": "shell",
|
|
|
|
"presentation": {
|
|
|
|
"echo": true,
|
|
|
|
"reveal": "always",
|
|
|
|
"focus": false,
|
|
|
|
"panel": "shared"
|
|
|
|
},
|
2016-05-29 10:37:40 -04:00
|
|
|
"tasks": [
|
|
|
|
{
|
2017-12-01 17:18:25 -05:00
|
|
|
"label": "build",
|
2016-12-21 10:38:48 -05:00
|
|
|
"args": ["v2ray.com/core/..."],
|
2017-12-01 17:18:25 -05:00
|
|
|
"group": "build",
|
2016-05-29 10:37:40 -04:00
|
|
|
"problemMatcher": {
|
|
|
|
"owner": "go",
|
|
|
|
"fileLocation": ["relative", "${workspaceRoot}"],
|
|
|
|
"pattern": {
|
|
|
|
"regexp": "^([^:]+\\.go):(\\d+):(.*)",
|
|
|
|
"file": 1,
|
|
|
|
"line": 2,
|
|
|
|
"message": 3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2017-12-01 17:18:25 -05:00
|
|
|
"label": "test",
|
2017-04-16 15:04:15 -04:00
|
|
|
"args": ["-p", "1", "v2ray.com/core/..."],
|
2017-12-01 17:18:25 -05:00
|
|
|
"group": "test"
|
2018-11-18 18:33:10 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"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}"
|
|
|
|
}
|
2016-05-29 10:37:40 -04:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|