"version": "2.0.0",
"tasks": [
{
+ "label": "Build Extension",
"type": "npm",
"script": "compile",
- "label": "Build Extension",
"problemMatcher": {
"owner": "typescript",
"pattern": "$tsc",
"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
+}