Skip to content

Commit 2671414

Browse files
committed
Extract rush from vscode tasks
1 parent 258f431 commit 2671414

1 file changed

Lines changed: 9 additions & 57 deletions

File tree

.vscode/tasks.json

Lines changed: 9 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@
1010
"kind": "build",
1111
"isDefault": true
1212
},
13-
"command": "node common/scripts/install-run-rush.js build --verbose",
13+
"command": "npx gulp buildWithoutPackage --verbose",
14+
"options": {
15+
"cwd": "extensions/ql-vscode/"
16+
},
1417
"presentation": {
1518
"echo": true,
1619
"reveal": "always",
@@ -33,64 +36,13 @@
3336
"$ts-webpack"
3437
]
3538
},
36-
{
37-
"label": "Rebuild",
38-
"type": "shell",
39-
"group": "build",
40-
"command": "node common/scripts/install-run-rush.js rebuild --verbose",
41-
"presentation": {
42-
"echo": true,
43-
"reveal": "always",
44-
"focus": false,
45-
"panel": "shared",
46-
"showReuseMessage": true,
47-
"clear": true
48-
},
49-
"problemMatcher": [
50-
{
51-
"owner": "typescript",
52-
"fileLocation": "absolute",
53-
"pattern": {
54-
"regexp": "^\\[gulp-typescript\\] ([^(]+)\\((\\d+|\\d+,\\d+|\\d+,\\d+,\\d+,\\d+)\\): error TS\\d+: (.*)$",
55-
"file": 1,
56-
"location": 2,
57-
"message": 3
58-
}
59-
}
60-
]
61-
},
62-
{
63-
"label": "Update",
64-
"type": "shell",
65-
"command": "node common/scripts/install-run-rush.js update",
66-
"presentation": {
67-
"echo": true,
68-
"reveal": "always",
69-
"focus": false,
70-
"panel": "shared",
71-
"showReuseMessage": true,
72-
"clear": true
73-
},
74-
"problemMatcher": []
75-
},
76-
{
77-
"label": "Update (full)",
78-
"type": "shell",
79-
"command": "node common/scripts/install-run-rush.js update --full",
80-
"presentation": {
81-
"echo": true,
82-
"reveal": "always",
83-
"focus": false,
84-
"panel": "shared",
85-
"showReuseMessage": true,
86-
"clear": true
87-
},
88-
"problemMatcher": []
89-
},
9039
{
9140
"label": "Format",
9241
"type": "shell",
93-
"command": "node common/scripts/install-run-rush.js format",
42+
"command": "npm run format",
43+
"options": {
44+
"cwd": "extensions/ql-vscode/"
45+
},
9446
"presentation": {
9547
"echo": true,
9648
"reveal": "always",
@@ -111,4 +63,4 @@
11163
"group": "build"
11264
}
11365
]
114-
}
66+
}

0 commit comments

Comments
 (0)