warzone2100/macosx/BuildBot/01_configure.sh

27 lines
764 B
Bash
Raw Normal View History

#!/bin/bash
# Note:
# This script is meant to be run from the root of the working copy.
#
# This just tries to download the external libs. It does it twice because they may not download properly the first time.
# Config
2011-04-21 19:23:25 -07:00
wz_conf="StaticAnalyzer"
cd macosx
2011-04-21 19:23:25 -07:00
if ! xcodeindex -project Warzone.xcodeproj -configuration "${wz_conf}"; then
if ! xcodeindex -project Warzone.xcodeproj -configuration "${wz_conf}"; then
exit ${?}
fi
fi
if ! xcodebuild -project Warzone.xcodeproj -parallelizeTargets -target "Fetch Third Party Sources" -configuration "${wz_conf}"; then
if ! xcodebuild -project Warzone.xcodeproj -parallelizeTargets -target "Fetch Third Party Sources" -configuration "${wz_conf}" -PBXBuildsContinueAfterErrors=NO; then
2011-04-21 19:23:25 -07:00
exit ${?}
fi
fi
exit 0