Add a little help to the build scripts
This commit is contained in:
parent
ef2827a9d8
commit
7b6996ed80
2 changed files with 6 additions and 6 deletions
|
|
@ -8,7 +8,7 @@ fail()
|
|||
}
|
||||
|
||||
if [ "$BUILD_CONFIG" != "Debug" ] && [ "$BUILD_CONFIG" != "Release" ]; then
|
||||
fail "Invalid build configuration"
|
||||
fail "Invalid build configuration - expected 'Debug' or 'Release'"
|
||||
fi
|
||||
|
||||
[ "$SIGNING_KEY" == "" ] || git diff-index --quiet HEAD -- || fail "Signed release builds must not have unstaged changes!"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
rem Run from Qt command prompt with working directory set to root of repo
|
||||
|
||||
setlocal enableDelayedExpansion
|
||||
@echo off
|
||||
setlocal enableDelayedExpansion
|
||||
|
||||
rem Run from Qt command prompt with working directory set to root of repo
|
||||
|
||||
set BUILD_CONFIG=%1
|
||||
set ARCH=%2
|
||||
|
|
@ -25,7 +25,7 @@ if /I "%BUILD_CONFIG%"=="debug" (
|
|||
exit /b 1
|
||||
)
|
||||
) else (
|
||||
echo Invalid build configuration
|
||||
echo Invalid build configuration - expected 'debug' or 'release'
|
||||
exit /b 1
|
||||
)
|
||||
)
|
||||
|
|
@ -33,7 +33,7 @@ if /I "%BUILD_CONFIG%"=="debug" (
|
|||
|
||||
if /I "%ARCH%" NEQ "x86" (
|
||||
if /I "%ARCH%" NEQ "x64" (
|
||||
echo Invalid build architecture
|
||||
echo Invalid build architecture - expected 'x86' or 'x64'
|
||||
exit /b 1
|
||||
)
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue