2 // See https://go.microsoft.com/fwlink/?LinkId=733558
3 // for the documentation about the tasks.json format
6 "command": "${workspaceFolder}/mach",
7 "args": ["--log-no-times"],
9 // Not using ${workspaceFolder} because doing so somehow runs
10 // the command on a new window instead of within the vscode terminal
20 "label": "clobber-python",
21 "args": ["clobber", "python"],
26 "args": ["configure"],
34 "fileLocation": "absolute",
36 "regexp": "^.*?([^\\s]*)[:(](\\d+)[:,](\\d+)[)]?:\\s+(warning|error):\\s+(.*)$",
46 "label": "build-binaries",
47 "args": ["build", "binaries"],
50 "fileLocation": "absolute",
52 "regexp": "^(.*)[:(](\\d+)[:,](\\d+)[)]?:\\s+(warning|error):\\s+(.*)$",
66 "label": "build-faster",
67 "args": ["build", "faster"],
70 "fileLocation": "absolute",
72 "regexp": "^(.*)[:(](\\d+)[:,](\\d+)[)]?:\\s+(warning|error):\\s+(.*)$",
83 "args": ["run", "-purgecaches"],
88 "args": ["lint", "-wo"],
89 "problemMatcher": ["$eslint-stylish"]
93 "args": ["eslint", "${file}"],
94 "problemMatcher": ["$eslint-stylish"]
97 "label": "eslint-fix",
98 "args": ["eslint", "--fix", "${file}"],
99 "problemMatcher": ["$eslint-stylish"]
103 "args": ["test", "${relativeFile}"],
111 "label": "mochitest",
112 "args": ["mochitest", "${relativeFile}"],
114 "fileLocation": ["relative", "${workspaceFolder}"],
116 "regexp": "^.*\\s+(TEST-UNEXPECTED-FAIL|TEST-UNEXPECTED-PASS)\\s+\\|\\s+([^\\s]*)\\s+\\|\\s+(.*)$",
129 "args": ["reftest", "${relativeFile}"],
131 "fileLocation": ["absolute"],
133 "regexp": "^.*\\s+(TEST-UNEXPECTED-FAIL|TEST-UNEXPECTED-PASS)\\s+\\|\\s+file:\/\/([^\\s]*)\\s+==\\s+[^\\s]*\\s+\\|\\s+(.*)$",
145 "label": "xpcshell-test",
146 "args": ["xpcshell-test", "${relativeFile}", "--sequential"],
148 "fileLocation": ["relative", "${workspaceFolder}"],
150 "regexp": "^.*\\s+(FAIL|ERROR)\\s+\\[([^\\s]*)\\s+:\\s+(\\d+)\\]\\s+(.*)$",