mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-03 00:06:09 +00:00
Fix some build script bugs uncovered by AppVeyor
This commit is contained in:
parent
92c897762b
commit
8470ffcb0d
@ -6,15 +6,15 @@ setlocal enableDelayedExpansion
|
|||||||
set BUILD_CONFIG=%1
|
set BUILD_CONFIG=%1
|
||||||
set ARCH=%2
|
set ARCH=%2
|
||||||
|
|
||||||
if "%BUILD_CONFIG%" NEQ "debug" (
|
if /I "%BUILD_CONFIG%" NEQ "debug" (
|
||||||
if "%BUILD_CONFIG%" NEQ "release" (
|
if /I "%BUILD_CONFIG%" NEQ "release" (
|
||||||
echo Invalid build configuration
|
echo Invalid build configuration
|
||||||
goto Error
|
goto Error
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
if "%ARCH%" NEQ "x86" (
|
if /I "%ARCH%" NEQ "x86" (
|
||||||
if "%ARCH%" NEQ "x64" (
|
if /I "%ARCH%" NEQ "x64" (
|
||||||
echo Invalid build architecture
|
echo Invalid build architecture
|
||||||
goto Error
|
goto Error
|
||||||
)
|
)
|
||||||
@ -78,4 +78,4 @@ exit /b 0
|
|||||||
|
|
||||||
:Error
|
:Error
|
||||||
echo Build failed!
|
echo Build failed!
|
||||||
exit /b %ERRORLEVEL%
|
exit /b !ERRORLEVEL!
|
Loading…
x
Reference in New Issue
Block a user