tasks.json 1.3 KB
Newer Older
E
Erich Gamma 已提交
1
{
2
	"version": "2.0.0",
E
Erich Gamma 已提交
3 4
	"tasks": [
		{
D
Dirk Baeumer 已提交
5 6 7
			"type": "npm",
			"script": "watch",
			"label": "Build VS Code",
8
			"group": "build",
J
Joao Moreno 已提交
9
			"isBackground": true,
D
Dirk Baeumer 已提交
10
			"presentation": {
11 12
				"reveal": "never"
			},
E
Erich Gamma 已提交
13 14
			"problemMatcher": {
				"owner": "typescript",
15
				"applyTo": "closedDocuments",
16 17 18
				"fileLocation": [
					"absolute"
				],
E
Erich Gamma 已提交
19
				"pattern": {
20
					"regexp": "Error: ([^(]+)\\((\\d+|\\d+,\\d+|\\d+,\\d+,\\d+,\\d+)\\): (.*)$",
E
Erich Gamma 已提交
21 22 23 24
					"file": 1,
					"location": 2,
					"message": 3
				},
25
				"background": {
26 27
					"beginsPattern": "Starting compilation",
					"endsPattern": "Finished compilation"
E
Erich Gamma 已提交
28 29 30
				}
			}
		},
E
Erich Gamma 已提交
31
		{
D
Dirk Baeumer 已提交
32 33 34
			"type": "gulp",
			"task": "tslint",
			"label": "Run tslint",
35 36 37
			"problemMatcher": [
				"$tslint4"
			]
38 39 40 41 42 43 44 45 46
		},
		{
			"taskName": "Run tests",
			"type": "shell",
			"command": "./scripts/test.sh",
			"windows": {
				"command": ".\\scripts\\test.bat"
			},
			"group": "test",
D
Dirk Baeumer 已提交
47
			"presentation": {
48 49
				"echo": true,
				"reveal": "always"
E
Erich Gamma 已提交
50 51
			}
		},
E
Erich Gamma 已提交
52
		{
53 54 55 56 57 58
			"taskName": "Run Dev",
			"type": "shell",
			"command": "./scripts/code.sh",
			"windows": {
				"command": ".\\scripts\\code.bat"
			}
J
Joao Moreno 已提交
59 60
		},
		{
D
Dirk Baeumer 已提交
61 62 63
			"type": "gulp",
			"task": "electron",
			"label": "Download electron"
64 65 66 67 68
		},
		{
			"type": "gulp",
			"task": "hygiene",
			"problemMatcher": []
E
Erich Gamma 已提交
69 70
		}
	]
71
}