diff options
Diffstat (limited to '.vscode/tasks.json')
-rw-r--r-- | .vscode/tasks.json | 56 |
1 files changed, 11 insertions, 45 deletions
diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 063cbd174..fc9a8593b 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json | |||
@@ -4,57 +4,23 @@ | |||
4 | "version": "2.0.0", | 4 | "version": "2.0.0", |
5 | "tasks": [ | 5 | "tasks": [ |
6 | { | 6 | { |
7 | "type": "npm", | ||
8 | "script": "compile", | ||
9 | "label": "Build Extension", | 7 | "label": "Build Extension", |
8 | "group": "build", | ||
9 | "type": "npm", | ||
10 | "script": "watch", | ||
11 | "path": "editors/code/", | ||
10 | "problemMatcher": { | 12 | "problemMatcher": { |
11 | "owner": "typescript", | 13 | "base": "$tsc-watch", |
12 | "pattern": "$tsc", | 14 | "fileLocation": ["relative", "${workspaceFolder}/editors/code/"] |
13 | "fileLocation": [ | ||
14 | "relative", | ||
15 | "${workspaceRoot}/editors/code" | ||
16 | ] | ||
17 | }, | 15 | }, |
18 | "path": "editors/code/" | ||
19 | }, | ||
20 | { | ||
21 | "label": "Build Lsp", | ||
22 | "type": "shell", | ||
23 | "command": "cargo build", | ||
24 | "problemMatcher": "$rustc" | ||
25 | }, | ||
26 | { | ||
27 | "label": "Build All", | ||
28 | "group": "build", | ||
29 | "dependsOn": [ | ||
30 | "Build Extension", | ||
31 | "Build Lsp" | ||
32 | ], | ||
33 | "problemMatcher": [] | ||
34 | }, | ||
35 | { | ||
36 | "label": "cargo watch", | ||
37 | "group": "build", | ||
38 | "isBackground": true, | 16 | "isBackground": true, |
39 | "type": "shell", | ||
40 | "command": "cargo", | ||
41 | "args": [ | ||
42 | "watch" | ||
43 | ], | ||
44 | "problemMatcher": "$rustc-watch" | ||
45 | }, | 17 | }, |
46 | { | 18 | { |
47 | "label": "cargo watch tests", | 19 | "label": "Build Server", |
48 | "group": "build", | 20 | "group": "build", |
49 | "isBackground": true, | ||
50 | "type": "shell", | 21 | "type": "shell", |
51 | "command": "cargo", | 22 | "command": "cargo build --package ra_lsp_server", |
52 | "args": [ | 23 | "problemMatcher": "$rustc" |
53 | "watch", | 24 | }, |
54 | "-x", | ||
55 | "check --tests" | ||
56 | ], | ||
57 | "problemMatcher": "$rustc-watch" | ||
58 | } | ||
59 | ] | 25 | ] |
60 | } \ No newline at end of file | 26 | } |