39 lines
815 B
JSON
39 lines
815 B
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"type": "shell",
|
|
"label": "phpstan (watcher)",
|
|
"isBackground": true,
|
|
"problemMatcher": {
|
|
"fileLocation": ["relative", "${workspaceRoot}"],
|
|
"owner": "phpstan-watcher",
|
|
"pattern": {
|
|
"regexp": "^/app/(.*?):([0-9\\?]*):(.*)$",
|
|
"file": 1,
|
|
"line": 2,
|
|
"message": 3
|
|
},
|
|
"background": {
|
|
"activeOnStart": true,
|
|
"beginsPattern": "Using configuration file",
|
|
"endsPattern": "All done"
|
|
|
|
}
|
|
},
|
|
"command": "chmod +x ${workspaceRoot}/utils/phpstan-watcher.sh && ${workspaceRoot}/utils/phpstan-watcher.sh",
|
|
},
|
|
{
|
|
"type": "gulp",
|
|
"task": "default",
|
|
"problemMatcher": [],
|
|
"label": "gulp: default",
|
|
"options": {
|
|
"env": {
|
|
"PATH": "${env:PATH}:/usr/lib/sdk/node16/bin/"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|