|
1 | 1 | { |
2 | | - "version": "0.1.0", |
3 | | - "command": "gulp", |
4 | | - "isShellCommand": true, |
5 | | - "args": [ |
6 | | - "--no-color" |
7 | | - ], |
| 2 | + // See https://go.microsoft.com/fwlink/?LinkId=733558 |
| 3 | + // for the documentation about the tasks.json format |
| 4 | + "version": "2.0.0", |
8 | 5 | "tasks": [ |
9 | 6 | { |
10 | | - "taskName": "build", |
11 | | - "args": [], |
12 | | - "isBuildCommand": true, |
13 | | - "problemMatcher": { |
14 | | - // The problem is owned by the cpp language service. |
15 | | - "owner": "typescript", |
16 | | - // The file name for reported problems is relative to the opened folder. |
17 | | - "fileLocation": [ |
18 | | - "relative", |
19 | | - "${workspaceRoot}" |
20 | | - ], |
21 | | - // The actual pattern to match problems in the output. |
22 | | - "pattern": { |
23 | | - // The regular expression. Example to match: helloWorld.c:5:3: warning: implicit declaration of function ‘prinft’ [-Wimplicit-function-declaration] |
24 | | - "regexp": "\\[\\d\\d:\\d\\d:\\d\\d\\] \\[gulp-tslint\\] error \\([^)]+\\) ([^\\[]+)\\[(\\d+), (\\d+)\\]: (.+)$", |
25 | | - // The first match group matches the file name which is relative. |
26 | | - "file": 1, |
27 | | - // The second match group matches the line on which the problem occurred. |
28 | | - "line": 2, |
29 | | - // The third match group matches the column at which the problem occurred. |
30 | | - "column": 3, |
31 | | - // The fifth match group matches the message. |
32 | | - "message": 4 |
33 | | - } |
34 | | - } |
| 7 | + "type": "npm", |
| 8 | + "script": "clean", |
35 | 9 | }, |
36 | 10 | { |
37 | | - "taskName": "test", |
38 | | - "args": [], |
39 | | - "isBuildCommand": true, |
40 | | - "problemMatcher": { |
41 | | - // The problem is owned by the cpp language service. |
42 | | - "owner": "typescript", |
43 | | - // The file name for reported problems is relative to the opened folder. |
44 | | - "fileLocation": [ |
45 | | - "relative", |
46 | | - "${workspaceRoot}" |
47 | | - ], |
48 | | - // The actual pattern to match problems in the output. |
49 | | - "pattern": { |
50 | | - // The regular expression. Example to match: helloWorld.c:5:3: warning: implicit declaration of function ‘prinft’ [-Wimplicit-function-declaration] |
51 | | - "regexp": "\\[\\d\\d:\\d\\d:\\d\\d\\] \\[gulp-tslint\\] error \\([^)]+\\) ([^\\[]+)\\[(\\d+), (\\d+)\\]: (.+)$", |
52 | | - // The first match group matches the file name which is relative. |
53 | | - "file": 1, |
54 | | - // The second match group matches the line on which the problem occurred. |
55 | | - "line": 2, |
56 | | - // The third match group matches the column at which the problem occurred. |
57 | | - "column": 3, |
58 | | - // The fifth match group matches the message. |
59 | | - "message": 4 |
60 | | - } |
61 | | - } |
| 11 | + "type": "npm", |
| 12 | + "script": "build", |
| 13 | + "group": { |
| 14 | + "kind": "build", |
| 15 | + "isDefault": true |
| 16 | + }, |
| 17 | + "problemMatcher": "$tsc" |
| 18 | + }, |
| 19 | + { |
| 20 | + "type": "npm", |
| 21 | + "script": "test", |
| 22 | + "group": "test" |
| 23 | + }, |
| 24 | + { |
| 25 | + "type": "npm", |
| 26 | + "script": "lint", |
| 27 | + "problemMatcher": "$eslint-stylish" |
62 | 28 | } |
63 | 29 | ] |
64 | 30 | } |
0 commit comments