]> git.lizzy.rs Git - rust.git/blobdiff - .vscode/tasks.json
Trim down launch configurations
[rust.git] / .vscode / tasks.json
index 063cbd174713a27f9b8a0980c41f27bc152c8eb3..79c24b86f02a2ce3c0e7928955867c568c352244 100644 (file)
@@ -4,9 +4,9 @@
   "version": "2.0.0",
   "tasks": [
     {
+      "label": "Build Extension",
       "type": "npm",
       "script": "compile",
-      "label": "Build Extension",
       "problemMatcher": {
         "owner": "typescript",
         "pattern": "$tsc",
@@ -18,9 +18,9 @@
       "path": "editors/code/"
     },
     {
-      "label": "Build Lsp",
+      "label": "Build Server",
       "type": "shell",
-      "command": "cargo build",
+      "command": "cargo build --package ra_lsp_server",
       "problemMatcher": "$rustc"
     },
     {
       "group": "build",
       "dependsOn": [
         "Build Extension",
-        "Build Lsp"
+        "Build Server"
       ],
       "problemMatcher": []
     },
-    {
-      "label": "cargo watch",
-      "group": "build",
-      "isBackground": true,
-      "type": "shell",
-      "command": "cargo",
-      "args": [
-        "watch"
-      ],
-      "problemMatcher": "$rustc-watch"
-    },
-    {
-      "label": "cargo watch tests",
-      "group": "build",
-      "isBackground": true,
-      "type": "shell",
-      "command": "cargo",
-      "args": [
-        "watch",
-        "-x",
-        "check --tests"
-      ],
-      "problemMatcher": "$rustc-watch"
-    }
   ]
-}
\ No newline at end of file
+}