From 1ec484410ad59fbe9f75f9f923a06cce35eb7fb1 Mon Sep 17 00:00:00 2001 From: Ben Clayton Date: Wed, 21 Jul 2021 13:24:21 +0000 Subject: [PATCH] .vscode: Fix quotations in windows 'configure' task MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It seems the tweaks to always force "cmd" to be the shell seemingly changes the way single quotes are handled. ¯\_(ツ)_/¯ Change-Id: I82310bc798b0dc5af8a4e53886110ef2c6468a97 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/59028 Auto-Submit: Ben Clayton Kokoro: Ben Clayton Kokoro: Kokoro Commit-Queue: Antonio Maiorano Reviewed-by: Antonio Maiorano --- .vscode/tasks.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index ee4089f589..f584277425 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -104,7 +104,7 @@ // which is used to track the active build directory. "command": "/C", "args": [ - "(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}')", + "(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": { @@ -143,4 +143,4 @@ "description": "The type of build", }, ] -} +} \ No newline at end of file