forked from cinder/Cinder
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
allow fullbuild.sh script to be run from other directories, reduce nu…
…mber of xcodebuild commends by using ‘-alltargets’
- Loading branch information
1 parent
7609f93
commit e37265a
Showing
1 changed file
with
5 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
#!/bin/sh | ||
|
||
xcrun xcodebuild -project cinder.xcodeproj -target cinder -configuration Release $@ | ||
xcrun xcodebuild -project cinder.xcodeproj -target cinder_iphone -configuration Release $@ | ||
xcrun xcodebuild -project cinder.xcodeproj -target cinder_iphone_sim -configuration Release -sdk iphonesimulator $@ | ||
xcrun xcodebuild -project cinder.xcodeproj -target cinder -configuration Debug $@ | ||
xcrun xcodebuild -project cinder.xcodeproj -target cinder_iphone -configuration Debug $@ | ||
xcrun xcodebuild -project cinder.xcodeproj -target cinder_iphone_sim -configuration Debug -sdk iphonesimulator $@ | ||
CURRENT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) | ||
CINDER_XCODEPROJ="${CURRENT_DIR}/cinder.xcodeproj" | ||
|
||
xcrun xcodebuild -project ${CINDER_XCODEPROJ} -alltargets -configuration Release $@ | ||
xcrun xcodebuild -project ${CINDER_XCODEPROJ} -alltargets -configuration Debug $@ |