Browse Source

update vscode config

Darien Raymond 8 years ago
parent
commit
2c6b46ee2d
1 changed files with 12 additions and 7 deletions
  1. 12 7
      .vscode/tasks.json

+ 12 - 7
.vscode/tasks.json

@@ -1,13 +1,18 @@
 {
-  "version": "0.1.0",
+  "version": "2.0.0",
   "command": "go",
-  "isShellCommand": true,
-  "showOutput": "always",
+  "type": "shell",
+  "presentation": {
+    "echo": true,
+    "reveal": "always",
+    "focus": false,
+    "panel": "shared"
+  },
   "tasks": [
     {
-      "taskName": "build",
+      "label": "build",
       "args": ["v2ray.com/core/..."],
-      "isBuildCommand": true,
+      "group": "build",
       "problemMatcher": {
         "owner": "go",
         "fileLocation": ["relative", "${workspaceRoot}"],
@@ -20,9 +25,9 @@
       }
     },
     {
-      "taskName": "test",
+      "label": "test",
       "args": ["-p", "1", "v2ray.com/core/..."],
-      "isBuildCommand": false
+      "group": "test"
     }
   ]
 }