mirror of
https://git.tuxpa.in/a/code-server.git
synced 2024-12-29 13:38:46 +00:00
eae5d8c807
These conflicts will be resolved in the following commits. We do it this way so that PR review is possible.
216 lines
4.2 KiB
JSON
216 lines
4.2 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"type": "npm",
|
|
"script": "watch-clientd",
|
|
"label": "Build VS Code Core",
|
|
"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": "watch-extensionsd",
|
|
"label": "Build VS Code Extensions",
|
|
"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"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"label": "Build VS Code",
|
|
"dependsOn": [
|
|
"Build VS Code Core",
|
|
"Build VS Code Extensions"
|
|
],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"type": "npm",
|
|
"script": "kill-watch-clientd",
|
|
"label": "Kill Build VS Code Core",
|
|
"group": "build",
|
|
"presentation": {
|
|
"reveal": "never"
|
|
},
|
|
"problemMatcher": "$tsc"
|
|
},
|
|
{
|
|
"type": "npm",
|
|
"script": "kill-watch-extensionsd",
|
|
"label": "Kill Build VS Code Extensions",
|
|
"group": "build",
|
|
"presentation": {
|
|
"reveal": "never"
|
|
},
|
|
"problemMatcher": "$tsc"
|
|
},
|
|
{
|
|
"label": "Kill Build VS Code",
|
|
"dependsOn": [
|
|
"Kill Build VS Code Core",
|
|
"Kill Build VS Code Extensions"
|
|
],
|
|
"group": "build",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"type": "npm",
|
|
"script": "watch-webd",
|
|
"label": "Build Web Extensions",
|
|
"group": "build",
|
|
"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": "kill-watch-webd",
|
|
"label": "Kill Build Web Extensions",
|
|
"group": "build",
|
|
"presentation": {
|
|
"reveal": "never"
|
|
},
|
|
"problemMatcher": "$tsc"
|
|
},
|
|
{
|
|
"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,
|
|
"problemMatcher": {
|
|
"pattern": {
|
|
"regexp": ""
|
|
},
|
|
"background": {
|
|
"beginsPattern": ".*node .*",
|
|
"endsPattern": "Web UI available at .*"
|
|
}
|
|
},
|
|
"presentation": {
|
|
"reveal": "never"
|
|
}
|
|
},
|
|
{
|
|
"type": "npm",
|
|
"script": "eslint",
|
|
"problemMatcher": {
|
|
"source": "eslint",
|
|
"base": "$eslint-stylish"
|
|
}
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"command": "node build/lib/preLaunch.js",
|
|
"label": "Ensure Prelaunch Dependencies",
|
|
"presentation": {
|
|
"reveal": "silent"
|
|
}
|
|
},
|
|
{
|
|
"type": "npm",
|
|
"script": "tsec-compile-check",
|
|
"problemMatcher": [
|
|
{
|
|
"base": "$tsc",
|
|
"applyTo": "allDocuments",
|
|
"owner": "tsec"
|
|
}
|
|
],
|
|
"group": "build",
|
|
"label": "npm: tsec-compile-check",
|
|
"detail": "node_modules/tsec/bin/tsec -p src/tsconfig.json --noEmit"
|
|
}
|
|
]
|
|
}
|