2 // See https://go.microsoft.com/fwlink/?LinkId=733558
3 // for the documentation about the tasks.json format
5 "command": "${workspaceRoot}/mach",
7 "command": "\"\\mozilla-build\\start-shell.bat mach\""
9 "args": ["--log-no-times"],
13 "label": "clobber-python",
15 "command": "${workspaceRoot}/mach",
17 "command": "\"\\mozilla-build\\start-shell.bat mach\""
19 "args": ["clobber", "python"],
32 "fileLocation": "absolute",
34 "regexp": "^.*?([^\\s]*)[:(](\\d+)[:,](\\d+)[)]?:\\s+(warning|error):\\s+(.*)$",
44 "label": "build-binaries",
46 "command": "${workspaceRoot}/mach",
48 "command": "\"\\mozilla-build\\start-shell.bat mach\""
50 "args": ["--log-no-times", "build", "binaries"],
53 "fileLocation": "absolute",
55 "regexp": "^(.*)[:(](\\d+)[:,](\\d+)[)]?:\\s+(warning|error):\\s+(.*)$",
69 "label": "build-faster",
71 "command": "${workspaceRoot}/mach",
73 "command": "\"\\mozilla-build\\start-shell.bat mach\""
75 "args": ["--log-no-times", "build", "faster"],
78 "fileLocation": "absolute",
80 "regexp": "^(.*)[:(](\\d+)[:,](\\d+)[)]?:\\s+(warning|error):\\s+(.*)$",
92 "args": ["-purgecaches"],
98 "command": "${workspaceRoot}/mach",
100 "command": "\"\\mozilla-build\\start-shell.bat mach\""
102 "args": ["lint", "-wo"],
103 "problemMatcher": ["$eslint-stylish"]
108 "problemMatcher": ["$eslint-stylish"]
111 "label": "eslint-fix",
113 "command": "${workspaceRoot}/mach",
115 "command": "\"\\mozilla-build\\start-shell.bat mach\""
117 "args": ["eslint", "--fix", "${file}"],
118 "problemMatcher": ["$eslint-stylish"]
123 "args": ["${relativeFile}"],
131 "label": "mochitest",
133 "args": ["${relativeFile}"],
135 "fileLocation": ["relative", "${workspaceRoot}"],
137 "regexp": "^.*\\s+(TEST-UNEXPECTED-FAIL|TEST-UNEXPECTED-PASS)\\s+\\|\\s+([^\\s]*)\\s+\\|\\s+(.*)$",
151 "args": ["${relativeFile}"],
153 "fileLocation": ["absolute"],
155 "regexp": "^.*\\s+(TEST-UNEXPECTED-FAIL|TEST-UNEXPECTED-PASS)\\s+\\|\\s+file:\/\/([^\\s]*)\\s+==\\s+[^\\s]*\\s+\\|\\s+(.*)$",
167 "label": "xpcshell-test",
169 "args": ["${relativeFile}", "--sequential"],
171 "fileLocation": ["relative", "${workspaceRoot}"],
173 "regexp": "^.*\\s+(FAIL|ERROR)\\s+\\[([^\\s]*)\\s+:\\s+(\\d+)\\]\\s+(.*)$",