From 341c9b06ff91651690b5d6f512839f8c102573ff Mon Sep 17 00:00:00 2001 From: Thomas Ramirez Date: Sat, 30 Apr 2022 11:01:23 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20path=20containing=20spaces?= =?UTF-8?q?=20in=20`build=5Fweb.bat`=20(#57)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes emilk/eframe_template#56 --- build_web.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_web.bat b/build_web.bat index 897f067..c1ab1fc 100644 --- a/build_web.bat +++ b/build_web.bat @@ -50,7 +50,7 @@ SET BUILD=release cargo build -p %CRATE_NAME% --release --lib --target wasm32-unknown-unknown @REM Get the output directory (in the workspace it is in another location) -FOR /F %%i IN ('cargo metadata --format-version=1 ^| jq --raw-output .target_directory') DO SET TARGET=%%i +FOR /F "delims=" %%i IN ('cargo metadata --format-version=1 ^| jq --raw-output .target_directory') DO SET TARGET=%%i echo Generating JS bindings for wasm... SET TARGET_NAME=%CRATE_NAME_SNAKE_CASE%.wasm