diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 000000000..34ac40103 --- /dev/null +++ b/.vscode/tasks.json @@ -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 + } + ] + + +} \ No newline at end of file