]> git.lizzy.rs Git - rust.git/blob - src/tools/rust-analyzer/.vscode/tasks.json
Rollup merge of #103221 - TaKO8Ki:fix-103202, r=oli-obk
[rust.git] / src / tools / rust-analyzer / .vscode / tasks.json
1 // See https://go.microsoft.com/fwlink/?LinkId=733558
2 // for the documentation about the tasks.json format
3 {
4   "version": "2.0.0",
5   "tasks": [
6     {
7       "label": "Build Extension in Background",
8       "group": "build",
9       "type": "npm",
10       "script": "watch",
11       "path": "editors/code/",
12       "problemMatcher": {
13         "base": "$tsc-watch",
14         "fileLocation": ["relative", "${workspaceFolder}/editors/code/"]
15       },
16       "isBackground": true,
17     },
18     {
19       "label": "Build Extension",
20       "group": "build",
21       "type": "npm",
22       "script": "build",
23       "path": "editors/code/",
24       "problemMatcher": {
25         "base": "$tsc",
26         "fileLocation": ["relative", "${workspaceFolder}/editors/code/"]
27       },
28     },
29     {
30       "label": "Build Server",
31       "group": "build",
32       "type": "shell",
33       "command": "cargo build --package rust-analyzer",
34       "problemMatcher": "$rustc"
35     },
36     {
37       "label": "Build Server (Release)",
38       "group": "build",
39       "type": "shell",
40       "command": "cargo build --release --package rust-analyzer",
41       "problemMatcher": "$rustc"
42     },
43     {
44       "label": "Pretest",
45       "group": "build",
46       "isBackground": false,
47       "type": "npm",
48       "script": "pretest",
49       "path": "editors/code/",
50       "problemMatcher": {
51         "base": "$tsc",
52         "fileLocation": ["relative", "${workspaceFolder}/editors/code/"]
53       }
54     },
55
56     {
57       "label": "Build Server and Extension",
58       "dependsOn": ["Build Server", "Build Extension"],
59       "problemMatcher": "$rustc"
60     },
61     {
62       "label": "Build Server (Release) and Extension",
63       "dependsOn": ["Build Server (Release)", "Build Extension"],
64       "problemMatcher": "$rustc"
65     }
66   ]
67 }