1
+ {
2
+ "version" : " 0.1.0" ,
3
+ "command" : " gulp" ,
4
+ "isShellCommand" : true ,
5
+ "args" : [
6
+ " --no-color"
7
+ ],
8
+ "tasks" : [
9
+ {
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}/src"
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
+ }
35
+ },
36
+ {
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}/src"
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
+ }
62
+ }
63
+ ]
64
+ }
0 commit comments