Fix vscode tasks.json for different shells
Change-Id: I0133e96be89254b52e3d2aa796ba8b62d851c582 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/58723 Reviewed-by: Ben Clayton <bclayton@google.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Auto-Submit: Ben Clayton <bclayton@google.com> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
parent
2950a94b6e
commit
9b2c17caf9
|
@ -34,11 +34,15 @@
|
|||
],
|
||||
},
|
||||
"windows": {
|
||||
"command": "cmd",
|
||||
"command": "/C",
|
||||
"args": [
|
||||
"/C",
|
||||
"ninja && echo Done"
|
||||
"ninja && echo Done",
|
||||
],
|
||||
"options": {
|
||||
"shell": {
|
||||
"executable": "cmd"
|
||||
},
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
"cwd": "${workspaceRoot}/out/active",
|
||||
|
@ -86,11 +90,15 @@
|
|||
],
|
||||
},
|
||||
"windows": {
|
||||
"command": "cmd",
|
||||
"command": "/C",
|
||||
"args": [
|
||||
"/C",
|
||||
"(IF \"${input:buildType}\" == \"Debug\" ( gn gen 'out\\${input:buildType}' --args=is_debug=true ) ELSE ( gn gen 'out\\${input:buildType}' --args=is_debug=false )) && (IF EXIST 'out\\active' rmdir 'out\\active' /q /s) && (mklink /j 'out\\active' 'out\\${input:buildType}')",
|
||||
],
|
||||
"options": {
|
||||
"shell": {
|
||||
"executable": "cmd"
|
||||
},
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
"cwd": "${workspaceRoot}"
|
||||
|
@ -117,11 +125,15 @@
|
|||
],
|
||||
},
|
||||
"windows": {
|
||||
"command": "cmd",
|
||||
"command": "/C",
|
||||
"args": [
|
||||
"/C",
|
||||
"git fetch origin && git rebase origin/main && gclient sync && echo Done"
|
||||
"git fetch origin && git rebase origin/main && gclient sync && echo Done",
|
||||
],
|
||||
"options": {
|
||||
"shell": {
|
||||
"executable": "cmd"
|
||||
},
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
"cwd": "${workspaceRoot}"
|
||||
|
|
Loading…
Reference in New Issue