Skip to content

Commit

Permalink
Bug 1858932 - Skip bash and run mach directly on powershell for tasks…
Browse files Browse the repository at this point in the history
….json r=tcampbell DONTBUILD

Differential Revision: https://phabricator.services.mozilla.com/D190924
  • Loading branch information
saschanaz committed Oct 17, 2023
1 parent 1c717b0 commit dfeb6c1
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand Down

0 comments on commit dfeb6c1

Please sign in to comment.