mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
Bug 1594520 - Use workspaceFolder in .vscode/tasks.json r=jya
The ${workspaceRoot} variable was deprecated when multi-folder workspaces were added to VSCode. Depends on D52082 Differential Revision: https://phabricator.services.mozilla.com/D52083 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
85e6ff9c94
commit
4e35fcaac4
6
.vscode/tasks.json
vendored
6
.vscode/tasks.json
vendored
@ -3,7 +3,7 @@
|
||||
// for the documentation about the tasks.json format
|
||||
"version": "2.0.0",
|
||||
"type": "shell",
|
||||
"command": "${workspaceRoot}/mach",
|
||||
"command": "${workspaceFolder}/mach",
|
||||
"windows": {
|
||||
"command": "\"\\mozilla-build\\start-shell.bat mach\""
|
||||
},
|
||||
@ -109,7 +109,7 @@
|
||||
"label": "mochitest",
|
||||
"args": ["mochitest", "${relativeFile}"],
|
||||
"problemMatcher": {
|
||||
"fileLocation": ["relative", "${workspaceRoot}"],
|
||||
"fileLocation": ["relative", "${workspaceFolder}"],
|
||||
"pattern": {
|
||||
"regexp": "^.*\\s+(TEST-UNEXPECTED-FAIL|TEST-UNEXPECTED-PASS)\\s+\\|\\s+([^\\s]*)\\s+\\|\\s+(.*)$",
|
||||
"severity": 1,
|
||||
@ -143,7 +143,7 @@
|
||||
"label": "xpcshell-test",
|
||||
"args": ["xpcshell-test", "${relativeFile}", "--sequential"],
|
||||
"problemMatcher": {
|
||||
"fileLocation": ["relative", "${workspaceRoot}"],
|
||||
"fileLocation": ["relative", "${workspaceFolder}"],
|
||||
"pattern": {
|
||||
"regexp": "^.*\\s+(FAIL|ERROR)\\s+\\[([^\\s]*)\\s+:\\s+(\\d+)\\]\\s+(.*)$",
|
||||
"severity": 1,
|
||||
|
Loading…
Reference in New Issue
Block a user