From 2671414f3247aa995c071bee476877aadf158be2 Mon Sep 17 00:00:00 2001 From: Jason Reed Date: Tue, 21 Jul 2020 09:11:50 -0400 Subject: [PATCH] Extract rush from vscode tasks --- .vscode/tasks.json | 66 +++++++--------------------------------------- 1 file changed, 9 insertions(+), 57 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 5c4c141ce..d0a9229e7 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -10,7 +10,10 @@ "kind": "build", "isDefault": true }, - "command": "node common/scripts/install-run-rush.js build --verbose", + "command": "npx gulp buildWithoutPackage --verbose", + "options": { + "cwd": "extensions/ql-vscode/" + }, "presentation": { "echo": true, "reveal": "always", @@ -33,64 +36,13 @@ "$ts-webpack" ] }, - { - "label": "Rebuild", - "type": "shell", - "group": "build", - "command": "node common/scripts/install-run-rush.js rebuild --verbose", - "presentation": { - "echo": true, - "reveal": "always", - "focus": false, - "panel": "shared", - "showReuseMessage": true, - "clear": true - }, - "problemMatcher": [ - { - "owner": "typescript", - "fileLocation": "absolute", - "pattern": { - "regexp": "^\\[gulp-typescript\\] ([^(]+)\\((\\d+|\\d+,\\d+|\\d+,\\d+,\\d+,\\d+)\\): error TS\\d+: (.*)$", - "file": 1, - "location": 2, - "message": 3 - } - } - ] - }, - { - "label": "Update", - "type": "shell", - "command": "node common/scripts/install-run-rush.js update", - "presentation": { - "echo": true, - "reveal": "always", - "focus": false, - "panel": "shared", - "showReuseMessage": true, - "clear": true - }, - "problemMatcher": [] - }, - { - "label": "Update (full)", - "type": "shell", - "command": "node common/scripts/install-run-rush.js update --full", - "presentation": { - "echo": true, - "reveal": "always", - "focus": false, - "panel": "shared", - "showReuseMessage": true, - "clear": true - }, - "problemMatcher": [] - }, { "label": "Format", "type": "shell", - "command": "node common/scripts/install-run-rush.js format", + "command": "npm run format", + "options": { + "cwd": "extensions/ql-vscode/" + }, "presentation": { "echo": true, "reveal": "always", @@ -111,4 +63,4 @@ "group": "build" } ] -} \ No newline at end of file +}