vscode/.vscode/tasks.json
Phillip Johnsen 4d6e7dfc3e Use local version of gulp in build steps.
Previously developers had to install gulp globally on their machine
to build the project. These changes changes that by using the already
locally installed version of gulp, removing the environment requirements
aswell as ensuring everyone are using the same version of gulp.

It fixes the VS Code build tasks, aswell as creating a npm script to trigger the watch task:

```bash
$ npm run watch
```
2016-03-02 20:57:49 +01:00

56 lines
1 KiB
JSON

{
"version": "0.1.0",
"command": "./node_modules/.bin/gulp",
"isShellCommand": true,
"tasks": [
{
"taskName": "watch",
"args": [
"--no-color"
],
"isBuildCommand": true,
"isWatching": true,
"problemMatcher": {
"owner": "typescript",
"fileLocation": ["absolute"],
"pattern": {
"regexp": "^\\*\\*\\* Error: ([^(]+)\\((\\d+|\\d+,\\d+|\\d+,\\d+,\\d+,\\d+)\\): (.*)$",
"file": 1,
"location": 2,
"message": 3
},
"watching": {
"beginsPattern": "^\\*\\*\\* Starting\\.\\.\\.$",
"endsPattern": "^\\*\\*\\* Finished"
}
}
},
{
"taskName": "tslint",
"args": [],
"problemMatcher": {
"owner": "tslint",
"fileLocation": [
"relative",
"${workspaceRoot}"
],
"severity": "warning",
"pattern": {
"regexp": "^\\[tslint\\] (.*):(\\d+):(\\d+):\\s+(.*)$",
"file": 1,
"line": 2,
"column": 3,
"message": 4
}
}
},
{
"taskName": "test",
"args": [
"--no-color"
],
"showOutput": "always",
"isTestCommand": true
}
]
}