Fix more AppVeyor bugs

This commit is contained in:
Cameron Gutman 2018-07-28 19:56:08 -07:00
parent 8470ffcb0d
commit 7f9cbac232

View File

@ -6,17 +6,22 @@ setlocal enableDelayedExpansion
set BUILD_CONFIG=%1 set BUILD_CONFIG=%1
set ARCH=%2 set ARCH=%2
if /I "%BUILD_CONFIG%" NEQ "debug" ( rem Convert to lower case for windeployqt
if /I "%BUILD_CONFIG%" NEQ "release" ( if /I "%BUILD_CONFIG%"=="debug" (
set BUILD_CONFIG=debug
) else (
if /I "%BUILD_CONFIG%"=="release" (
set BUILD_CONFIG=release
) else (
echo Invalid build configuration echo Invalid build configuration
goto Error exit /b 1
) )
) )
if /I "%ARCH%" NEQ "x86" ( if /I "%ARCH%" NEQ "x86" (
if /I "%ARCH%" NEQ "x64" ( if /I "%ARCH%" NEQ "x64" (
echo Invalid build architecture echo Invalid build architecture
goto Error exit /b 1
) )
) )