aboutsummaryrefslogtreecommitdiff
path: root/.vscode/tasks.json
diff options
context:
space:
mode:
authorJonas Schievink <[email protected]>2020-04-28 21:32:23 +0100
committerJonas Schievink <[email protected]>2020-04-28 21:32:23 +0100
commit61c28c2b22207c14c1e74687ae49a9beab6e4206 (patch)
treeef409f4d8d344a4dd4e7c6f6d37b24ce0f2e1e46 /.vscode/tasks.json
parent0ee12079bce0850a02d41d369795702ba69a709c (diff)
Build extension too
Diffstat (limited to '.vscode/tasks.json')
-rw-r--r--.vscode/tasks.json24
1 files changed, 23 insertions, 1 deletions
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
index 922f66d80..0969ce89a 100644
--- a/.vscode/tasks.json
+++ b/.vscode/tasks.json
@@ -4,7 +4,7 @@
4 "version": "2.0.0", 4 "version": "2.0.0",
5 "tasks": [ 5 "tasks": [
6 { 6 {
7 "label": "Build Extension", 7 "label": "Build Extension in Background",
8 "group": "build", 8 "group": "build",
9 "type": "npm", 9 "type": "npm",
10 "script": "watch", 10 "script": "watch",
@@ -16,6 +16,17 @@
16 "isBackground": true, 16 "isBackground": true,
17 }, 17 },
18 { 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 {
19 "label": "Build Server", 30 "label": "Build Server",
20 "group": "build", 31 "group": "build",
21 "type": "shell", 32 "type": "shell",
@@ -29,5 +40,16 @@
29 "command": "cargo build --release --package rust-analyzer", 40 "command": "cargo build --release --package rust-analyzer",
30 "problemMatcher": "$rustc" 41 "problemMatcher": "$rustc"
31 }, 42 },
43
44 {
45 "label": "Build Server and Extension",
46 "dependsOn": ["Build Server", "Build Extension"],
47 "problemMatcher": "$rustc"
48 },
49 {
50 "label": "Build Server (Release) and Extension",
51 "dependsOn": ["Build Server (Release)", "Build Extension"],
52 "problemMatcher": "$rustc"
53 }
32 ] 54 ]
33} 55}