зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
1c717b0c4a
Коммит
dfeb6c1878
|
@ -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": [
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче