2015-11-13 21:39:38 +08:00
|
|
|
{
|
2017-06-22 05:44:32 +08:00
|
|
|
"version": "2.0.0",
|
2015-11-13 21:39:38 +08:00
|
|
|
"tasks": [
|
|
|
|
{
|
2017-06-22 05:44:32 +08:00
|
|
|
"customize": "vscode.npm.run watch",
|
|
|
|
"taskName": "Build VS Code",
|
|
|
|
"group": "build",
|
2017-02-08 16:05:17 +08:00
|
|
|
"isBackground": true,
|
2017-06-22 05:44:32 +08:00
|
|
|
"terminal": {
|
|
|
|
"reveal": "never"
|
|
|
|
},
|
2015-11-13 21:39:38 +08:00
|
|
|
"problemMatcher": {
|
|
|
|
"owner": "typescript",
|
2016-06-08 21:15:16 +08:00
|
|
|
"applyTo": "closedDocuments",
|
2016-03-08 16:03:08 +08:00
|
|
|
"fileLocation": [
|
|
|
|
"absolute"
|
|
|
|
],
|
2015-11-13 21:39:38 +08:00
|
|
|
"pattern": {
|
2016-07-12 23:12:38 +08:00
|
|
|
"regexp": "Error: ([^(]+)\\((\\d+|\\d+,\\d+|\\d+,\\d+,\\d+,\\d+)\\): (.*)$",
|
2015-11-13 21:39:38 +08:00
|
|
|
"file": 1,
|
|
|
|
"location": 2,
|
|
|
|
"message": 3
|
|
|
|
},
|
2017-05-31 22:41:58 +08:00
|
|
|
"background": {
|
2016-07-12 23:12:38 +08:00
|
|
|
"beginsPattern": "Starting compilation",
|
|
|
|
"endsPattern": "Finished compilation"
|
2015-11-13 21:39:38 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2016-01-15 00:53:55 +08:00
|
|
|
{
|
2017-06-22 05:44:32 +08:00
|
|
|
"customize": "gulp.tslint",
|
|
|
|
"taskName": "Run tslint",
|
|
|
|
"problemMatcher": ["$tslint4"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"taskName": "Run tests",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "./scripts/test.sh",
|
|
|
|
"windows": {
|
|
|
|
"command": ".\\scripts\\test.bat"
|
|
|
|
},
|
|
|
|
"group": "test",
|
2017-06-22 23:03:52 +08:00
|
|
|
"presentation": {
|
2017-06-22 05:44:32 +08:00
|
|
|
"echo": true,
|
|
|
|
"reveal": "always"
|
2016-01-15 00:53:55 +08:00
|
|
|
}
|
|
|
|
},
|
2015-11-13 21:39:38 +08:00
|
|
|
{
|
2017-06-22 05:44:32 +08:00
|
|
|
"taskName": "Run Dev",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "./scripts/code.sh",
|
|
|
|
"windows": {
|
|
|
|
"command": ".\\scripts\\code.bat"
|
|
|
|
}
|
2017-02-15 18:58:33 +08:00
|
|
|
},
|
|
|
|
{
|
2017-06-22 05:44:32 +08:00
|
|
|
"customize": "gulp.electron",
|
|
|
|
"taskName": "Download electron"
|
2015-11-13 21:39:38 +08:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|