Build the index.

master
dak180 2011-04-21 22:23:25 -04:00
parent 6ded3d1064
commit 435f352672
1 changed files with 11 additions and 3 deletions

View File

@ -6,12 +6,20 @@
# This just tries to build warzone. It does it twice because there are race conditions that may otherwise be triggered.
# Config
wz_conf="StaticAnalyzer"
cd macosx
if ! xcodebuild -project Warzone.xcodeproj -parallelizeTargets -target "Warzone" -configuration "StaticAnalyzer"; then
if ! xcodebuild -project Warzone.xcodeproj -parallelizeTargets -target "Warzone" -configuration "StaticAnalyzer" -PBXBuildsContinueAfterErrors=NO; then
exit ${?}
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 "Warzone" -configuration "${wz_conf}"; then
if ! xcodebuild -project Warzone.xcodeproj -parallelizeTargets -target "Warzone" -configuration "${wz_conf}" -PBXBuildsContinueAfterErrors=NO; then
exit ${?}
fi
fi