add vscode task

pull/168/head
v2ray 9 years ago
parent 06aaaf970b
commit c3aa839227

30
.vscode/tasks.json vendored

@ -0,0 +1,30 @@
{
"version": "0.1.0",
"command": "go",
"isShellCommand": true,
"showOutput": "always",
"tasks": [
{
"taskName": "build",
"args": ["-tags", "json", "github.com/v2ray/v2ray-core/..."],
"isBuildCommand": true,
"problemMatcher": {
"owner": "go",
"fileLocation": ["relative", "${workspaceRoot}"],
"pattern": {
"regexp": "^([^:]+\\.go):(\\d+):(.*)",
"file": 1,
"line": 2,
"message": 3
}
}
},
{
"taskName": "test",
"args": ["-tags", "json", "github.com/v2ray/v2ray-core/..."],
"isBuildCommand": false
}
]
}
Loading…
Cancel
Save