https://github.com/Microsoft/TypeScript
Raw File
Tip revision: 61f3ba622e91133871a45fb556e1909e631f0baa authored by Ron Buckton on 23 February 2016, 21:15:35 UTC
Merge branch 'transforms-transformer' into transforms-printer
Tip revision: 61f3ba6
tasks.json
// Available variables which can be used inside of strings.
// ${workspaceRoot}: the root folder of the team
// ${file}: the current opened file
// ${fileBasename}: the current opened file's basename
// ${fileDirname}: the current opened file's dirname
// ${fileExtname}: the current opened file's extension
// ${cwd}: the current working directory of the spawned process
{
    "version": "0.1.0",
    "command": "jake",
    "isShellCommand": true,
    "showOutput": "silent",
    "tasks": [
        {
            "taskName": "local",
            "isBuildCommand": true,
            "showOutput": "silent",
            "problemMatcher": [
                "$tsc"
            ]
        },
        {
            "taskName": "lint-server",
            "args": [],
            "problemMatcher": {
                "owner": "typescript",
                "fileLocation": ["relative", "${workspaceRoot}"],
                "pattern": {
                    "regexp": "^(warning|error)\\s+([^(]+)\\s+\\((\\d+|\\d+,\\d+|\\d+,\\d+,\\d+,\\d+)\\):\\s+(.*)$",
                    "severity": 1,
                    "file": 2,
                    "location": 3,
                    "message": 4
                },
                "watchedTaskBeginsRegExp": "^\\*\\*\\*Lint failure\\*\\*\\*$",
                "watchedTaskEndsRegExp": "^\\*\\*\\* Total \\d+ failures\\.$"
            },
            "showOutput": "always",
            "isWatching": true
        }
    ]
}
back to top