Created
March 22, 2014 22:16
-
-
Save syuhari/9715275 to your computer and use it in GitHub Desktop.
Run cocos command in post action on Xcode
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
export ANT_ROOT=/usr/local/bin | |
export NDK_ROOT=/path/to/android-ndk | |
export ANDROID_SDK_ROOT=/path/to/android-sdk | |
export COCOS_CONSOLE_ROOT=/path/to/cocos2d-x/tools/cocos2d-console/bin | |
$COCOS_CONSOLE_ROOT/cocos run -s $SRCROOT/../ -p android |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment