Extract rush from vscode tasks

This commit is contained in:
Jason Reed 2020-07-21 09:11:50 -04:00
Родитель 258f43132c
Коммит 2671414f32
1 изменённых файлов: 9 добавлений и 57 удалений

66
.vscode/tasks.json поставляемый
Просмотреть файл

@ -10,7 +10,10 @@
"kind": "build", "kind": "build",
"isDefault": true "isDefault": true
}, },
"command": "node common/scripts/install-run-rush.js build --verbose", "command": "npx gulp buildWithoutPackage --verbose",
"options": {
"cwd": "extensions/ql-vscode/"
},
"presentation": { "presentation": {
"echo": true, "echo": true,
"reveal": "always", "reveal": "always",
@ -33,64 +36,13 @@
"$ts-webpack" "$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", "label": "Format",
"type": "shell", "type": "shell",
"command": "node common/scripts/install-run-rush.js format", "command": "npm run format",
"options": {
"cwd": "extensions/ql-vscode/"
},
"presentation": { "presentation": {
"echo": true, "echo": true,
"reveal": "always", "reveal": "always",
@ -111,4 +63,4 @@
"group": "build" "group": "build"
} }
] ]
} }