Merge pull request #921 from realm/debug-argument-case-fix

make tests Debug arg case insensitive
This commit is contained in:
blagoev 2017-03-16 15:03:19 +01:00 committed by GitHub
commit 6845157580
1 changed files with 4 additions and 0 deletions

View File

@ -9,6 +9,10 @@ export NPM_CONFIG_PROGRESS=false
TARGET=$1
CONFIGURATION=${2:-Release}
if echo $CONFIGURATION | grep -i "^Debug$" > /dev/null ; then
CONFIGURATION="Debug"
fi
IOS_SIM_DEVICE=${IOS_SIM_DEVICE:-} # use preferentially, otherwise will be set and re-exported
ios_sim_default_device_type=${IOS_SIM_DEVICE_TYPE:-iPhone 5s}
ios_sim_default_ios_version=${IOS_SIM_OS:-iOS 10.1}