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:
Kagami Sascha Rosylight 2023-10-17 19:49:17 +00:00
Родитель 1c717b0c4a
Коммит dfeb6c1878
1 изменённых файлов: 3 добавлений и 10 удалений

13
.vscode/tasks.json поставляемый
Просмотреть файл

@ -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": [
{