2014-01-23 23:30:54 +08:00
|
|
|
#put xctool.sh into your PATH
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
2015-03-10 14:08:03 +08:00
|
|
|
COCOS2DX_ROOT="$DIR"/../../..
|
2015-03-10 17:03:03 +08:00
|
|
|
xcodebuild -project "$COCOS2DX_ROOT"/build/cocos2d_tests.xcodeproj -scheme "build all tests iOS" -destination "platform=iOS Simulator,name=iPhone Retina (4-inch)" clean | xcpretty
|
|
|
|
xcodebuild -project "$COCOS2DX_ROOT"/build/cocos2d_tests.xcodeproj -scheme "build all tests iOS" -destination "platform=iOS Simulator,name=iPhone Retina (4-inch)" build | xcpretty
|
2015-04-29 13:58:35 +08:00
|
|
|
#the following commands must not be removed
|
|
|
|
xcodebuild -project "$COCOS2DX_ROOT"/build/cocos2d_tests.xcodeproj -scheme "build all tests iOS" -destination "platform=iOS Simulator,name=iPhone Retina (4-inch)" build
|