aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-03-08 20:31:34 +0100
committerJustin M. Keyes <justinkz@gmail.com>2018-03-11 12:43:42 +0100
commitd554a6c7f0e9ed84f2e16d4977740a1584d11198 (patch)
tree2a8aa475e4d2828b702454cc39c561dd8a4254e7
parent2bf08691609c763cc8a87e38ba24596ff8622a79 (diff)
downloadrneovim-d554a6c7f0e9ed84f2e16d4977740a1584d11198.tar.gz
rneovim-d554a6c7f0e9ed84f2e16d4977740a1584d11198.tar.bz2
rneovim-d554a6c7f0e9ed84f2e16d4977740a1584d11198.zip
ci/AppVeyor: fix `set` whitespace quoting
-rw-r--r--ci/build.bat14
1 files changed, 7 insertions, 7 deletions
diff --git a/ci/build.bat b/ci/build.bat
index 3fa185f646..8bf310851e 100644
--- a/ci/build.bat
+++ b/ci/build.bat
@@ -6,19 +6,19 @@ if "%CONFIGURATION%" == "MINGW_32" (
set ARCH=x86_64
set BITS=64
if "%CONFIGURATION%" == "MINGW_64-gcov" (
- set USE_GCOV="-DUSE_GCOV=ON"
+ set "USE_GCOV=-DUSE_GCOV=ON"
)
) else if "%CONFIGURATION%" == "MSVC_32" (
- set CMAKE_GENERATOR="Visual Studio 15 2017"
+ set "CMAKE_GENERATOR=Visual Studio 15 2017"
) else if "%CONFIGURATION%" == "MSVC_64" (
- set CMAKE_GENERATOR="Visual Studio 15 2017 Win64"
+ set "CMAKE_GENERATOR=Visual Studio 15 2017 Win64"
)
if "%CONFIGURATION:~0,5%" == "MINGW" (
:: These are native MinGW builds, but they use the toolchain inside
:: MSYS2, this allows using all the dependencies and tools available
:: in MSYS2, but we cannot build inside the MSYS2 shell.
- set CMAKE_GENERATOR="MinGW Makefiles"
+ set "CMAKE_GENERATOR=MinGW Makefiles"
set CMAKE_GENERATOR_ARGS=VERBOSE=1
:: Add MinGW to the PATH and remove the Git directory because it
:: has a conflicting sh.exe
@@ -49,14 +49,14 @@ where.exe neovim-node-host.cmd || goto :error
mkdir .deps
cd .deps
-cmake -G %CMAKE_GENERATOR% -DCMAKE_BUILD_TYPE=RelWithDebInfo ..\third-party\ || goto :error
+cmake -G "%CMAKE_GENERATOR%" -DCMAKE_BUILD_TYPE=RelWithDebInfo ..\third-party\ || goto :error
cmake --build . -- %CMAKE_GENERATOR_ARGS% || goto :error
cd ..
:: Build Neovim
mkdir build
cd build
-cmake -G %CMAKE_GENERATOR% -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUSTED_OUTPUT_TYPE=nvim %USE_GCOV% -DGPERF_PRG="C:\msys64\usr\bin\gperf.exe" .. || goto :error
+cmake -G "%CMAKE_GENERATOR%" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUSTED_OUTPUT_TYPE=nvim %USE_GCOV% -DGPERF_PRG="C:\msys64\usr\bin\gperf.exe" .. || goto :error
cmake --build . --config RelWithDebInfo -- %CMAKE_GENERATOR_ARGS% || goto :error
bin\nvim --version || goto :error
@@ -78,7 +78,7 @@ if defined USE_GCOV (
)
:: The default cpack in the PATH is not CMake
-set PATH=C:\Program Files (x86)\CMake\bin\cpack.exe;%PATH%
+set "PATH=C:\Program Files (x86)\CMake\bin\cpack.exe;%PATH%"
:: Build artifacts
cpack -G ZIP -C RelWithDebInfo
if defined APPVEYOR_REPO_TAG_NAME cpack -G NSIS -C RelWithDebInfo