From c3aa839227c6734e613bc155a93910c70f70c518 Mon Sep 17 00:00:00 2001 From: v2ray Date: Sun, 29 May 2016 16:37:40 +0200 Subject: [PATCH] add vscode task --- .vscode/tasks.json | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .vscode/tasks.json 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