Bug 1743056 [wpt PR 31030] - [WebID] Support navigator.credentials.get for WebID...
[gecko.git] / .vscode / tasks.json
blobeab45b2a75329d7209e189b3cdc87e14df8c04df
2     // See https://go.microsoft.com/fwlink/?LinkId=733558
3     // for the documentation about the tasks.json format
4     "version": "2.0.0",
5     "type": "shell",
6     "command": "${workspaceFolder}/mach",
7     "args": ["--log-no-times"],
8     "windows": {
9       "command": "/mozilla-build/start-shell.bat",
10       "args": [
11         "cd",
12         // Use PowerShell to mangle path for mozilla-build environment
13         {"value": "$('${workspaceFolder}' -replace '\\\\','/')", "quoting": "weak"},
14         "';'",
16         "mach",
17         "--log-no-times"
18       ]
19     },
20     "tasks": [
21       {
22         "label": "clobber",
23         "args": ["clobber"],
24         "problemMatcher": []
25       },
26       {
27         "label": "clobber-python",
28         "args": ["clobber", "python"],
29         "problemMatcher": []
30       },
31       {
32         "label": "configure",
33         "args": ["configure"],
34         "problemMatcher": []
35       },
36       {
37         "label": "build",
38         "args": ["build"],
39         "problemMatcher": {
40           "owner": "cpp",
41           "fileLocation": "absolute",
42           "pattern": {
43             "regexp": "^.*?([^\\s]*)[:(](\\d+)[:,](\\d+)[)]?:\\s+(warning|error):\\s+(.*)$",
44             "file": 1,
45             "line": 2,
46             "column": 3,
47             "severity": 4,
48             "message": 5
49           }
50         }
51       },
52       {
53         "label": "build-binaries",
54         "args": ["build", "binaries"],
55         "problemMatcher": {
56           "owner": "cpp",
57           "fileLocation": "absolute",
58           "pattern": {
59             "regexp": "^(.*)[:(](\\d+)[:,](\\d+)[)]?:\\s+(warning|error):\\s+(.*)$",
60             "file": 1,
61             "line": 2,
62             "column": 3,
63             "severity": 4,
64             "message": 5
65           }
66         },
67         "group": {
68             "kind": "build",
69             "isDefault": true
70         }
71       },
72       {
73         "label": "build-faster",
74         "args": ["build", "faster"],
75         "problemMatcher": {
76           "owner": "cpp",
77           "fileLocation": "absolute",
78           "pattern": {
79             "regexp": "^(.*)[:(](\\d+)[:,](\\d+)[)]?:\\s+(warning|error):\\s+(.*)$",
80             "file": 1,
81             "line": 2,
82             "column": 3,
83             "severity": 4,
84             "message": 5
85           }
86         }
87       },
88       {
89         "label": "run",
90         "args": ["run", "-purgecaches"],
91         "problemMatcher": []
92       },
93       {
94         "label": "lint-wo",
95         "args": ["lint", "-wo"],
96         "problemMatcher": ["$eslint-stylish"]
97       },
98       {
99         "label": "eslint",
100         "args": ["eslint", "${file}"],
101         "problemMatcher": ["$eslint-stylish"]
102       },
103       {
104         "label": "eslint-fix",
105         "args": ["eslint", "--fix", "${file}"],
106         "problemMatcher": ["$eslint-stylish"]
107       },
108       {
109         "label": "test",
110         "args": ["test", "${relativeFile}"],
111         "group":"test",
112         "presentation": {
113             "reveal": "always",
114             "panel": "new"
115         }
116       },
117       {
118         "label": "mochitest",
119         "args": ["mochitest", "${relativeFile}"],
120         "problemMatcher": {
121           "fileLocation": ["relative", "${workspaceFolder}"],
122           "pattern": {
123               "regexp": "^.*\\s+(TEST-UNEXPECTED-FAIL|TEST-UNEXPECTED-PASS)\\s+\\|\\s+([^\\s]*)\\s+\\|\\s+(.*)$",
124               "severity": 1,
125               "file": 2,
126               "message": 3
127           }
128         },
129         "presentation": {
130             "reveal": "always",
131             "panel": "new"
132         }
133       },
134       {
135         "label": "reftest",
136         "args": ["reftest", "${relativeFile}"],
137         "problemMatcher": {
138           "fileLocation": ["absolute"],
139           "pattern": {
140               "regexp": "^.*\\s+(TEST-UNEXPECTED-FAIL|TEST-UNEXPECTED-PASS)\\s+\\|\\s+file:\/\/([^\\s]*)\\s+==\\s+[^\\s]*\\s+\\|\\s+(.*)$",
141               "severity": 1,
142               "file": 2,
143               "message": 3
144           }
145         },
146         "presentation": {
147             "reveal": "always",
148             "panel": "new"
149         }
150       },
151       {
152         "label": "xpcshell-test",
153         "args": ["xpcshell-test", "${relativeFile}", "--sequential"],
154         "problemMatcher": {
155           "fileLocation": ["relative", "${workspaceFolder}"],
156           "pattern": {
157               "regexp": "^.*\\s+(FAIL|ERROR)\\s+\\[([^\\s]*)\\s+:\\s+(\\d+)\\]\\s+(.*)$",
158               "severity": 1,
159               "file": 2,
160               "location": 3,
161               "message": 4
162           }
163         },
164         "presentation": {
165               "reveal": "always",
166               "panel": "new"
167         }
168       }
169     ]