axmol/tools/jenkins-scripts/ios-build.sh

6 lines
453 B
Bash
Raw Normal View History

2014-01-23 23:30:54 +08:00
#put xctool.sh into your PATH
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
2014-01-23 23:40:08 +08:00
COCOS2DX_ROOT="$DIR"/../..
2014-03-11 20:47:02 +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
xcodebuild -project "$COCOS2DX_ROOT"/build/cocos2d_tests.xcodeproj -scheme "build all tests iOS" -destination "platform=iOS Simulator,name=iPhone Retina (4-inch)" build