forked from mirrors/gecko-dev
Bug 1858932 - Skip bash and run mach directly on powershell for tasks.json r=tcampbell DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D190924
This commit is contained in:
parent
1c717b0c4a
commit
dfeb6c1878
1 changed files with 3 additions and 10 deletions
13
.vscode/tasks.json
vendored
13
.vscode/tasks.json
vendored
|
|
@ -6,16 +6,9 @@
|
|||
"command": "${workspaceFolder}/mach",
|
||||
"args": ["--log-no-times"],
|
||||
"windows": {
|
||||
"command": "/mozilla-build/start-shell.bat",
|
||||
"args": [
|
||||
"cd",
|
||||
// Use PowerShell to mangle path for mozilla-build environment
|
||||
{"value": "$('${workspaceFolder}' -replace '\\\\','/')", "quoting": "weak"},
|
||||
"';'",
|
||||
|
||||
"mach",
|
||||
"--log-no-times"
|
||||
]
|
||||
// Not using ${workspaceFolder} because doing so somehow runs
|
||||
// the command on a new window instead of within the vscode terminal
|
||||
"command": "./mach"
|
||||
},
|
||||
"tasks": [
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue