summaryrefslogtreecommitdiff
path: root/.vscode/tasks.json
blob: 11fd2c305689516b1768af7bdea07277b785f50b (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
39
40
41
42
43
44
45
46
{
	"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": "shell",
			"label": "phpunit",
			"command": "chmod +x ${workspaceRoot}/utils/phpunit.sh && ${workspaceRoot}/utils/phpunit.sh",
			"problemMatcher": []
		},
		{
			"type": "gulp",
			"task": "default",
			"problemMatcher": [],
			"label": "gulp: default",
			"options": {
				"env": {
					"PATH": "${env:PATH}:/usr/lib/sdk/node16/bin/"
				}
			}
		}
	]
}