summaryrefslogtreecommitdiff
path: root/.vscode/tasks.json
blob: d59e3ff10c9eb297b0269d23853bdcd9b85e71e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
	"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/"
				}
		  }
		}
	]
}