mirror of
https://github.com/Microsoft/vscode
synced 2024-11-05 18:29:38 +00:00
108 lines
2 KiB
JSON
108 lines
2 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"type": "npm",
|
|
"script": "watch",
|
|
"label": "Build VS Code",
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"isBackground": true,
|
|
"presentation": {
|
|
"reveal": "never"
|
|
},
|
|
"problemMatcher": {
|
|
"owner": "typescript",
|
|
"applyTo": "closedDocuments",
|
|
"fileLocation": [
|
|
"absolute"
|
|
],
|
|
"pattern": {
|
|
"regexp": "Error: ([^(]+)\\((\\d+|\\d+,\\d+|\\d+,\\d+,\\d+,\\d+)\\): (.*)$",
|
|
"file": 1,
|
|
"location": 2,
|
|
"message": 3
|
|
},
|
|
"background": {
|
|
"beginsPattern": "Starting compilation",
|
|
"endsPattern": "Finished compilation"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "npm",
|
|
"script": "strict-initialization-watch",
|
|
"label": "TS - Strict Initialization",
|
|
"isBackground": true,
|
|
"presentation": {
|
|
"reveal": "never"
|
|
},
|
|
"problemMatcher": {
|
|
"base": "$tsc-watch",
|
|
"owner": "typescript-strict-initialization",
|
|
"applyTo": "allDocuments"
|
|
}
|
|
},
|
|
{
|
|
"type": "gulp",
|
|
"task": "tslint",
|
|
"label": "Run tslint",
|
|
"problemMatcher": [
|
|
"$tslint5"
|
|
]
|
|
},
|
|
{
|
|
"label": "Run tests",
|
|
"type": "shell",
|
|
"command": "./scripts/test.sh",
|
|
"windows": {
|
|
"command": ".\\scripts\\test.bat"
|
|
},
|
|
"group": "test",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always"
|
|
}
|
|
},
|
|
{
|
|
"label": "Run Dev",
|
|
"type": "shell",
|
|
"command": "./scripts/code.sh",
|
|
"windows": {
|
|
"command": ".\\scripts\\code.bat"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"type": "npm",
|
|
"script": "electron",
|
|
"label": "Download electron"
|
|
},
|
|
{
|
|
"type": "gulp",
|
|
"task": "hygiene",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"command": "yarn web -- --no-launch",
|
|
"label": "Run web",
|
|
"isBackground": true,
|
|
// This section to make error go away when launching the debug config
|
|
"problemMatcher": {
|
|
"pattern": {
|
|
"regexp": ""
|
|
},
|
|
"background": {
|
|
"beginsPattern": ".*node .*",
|
|
"endsPattern": "Web UI available at .*"
|
|
}
|
|
},
|
|
"presentation": {
|
|
"reveal": "never"
|
|
}
|
|
},
|
|
]
|
|
}
|