mirror of https://github.com/axmolengine/axmol.git
Defines NDK_ROOT and PYTHON_BIN in top level.
This commit is contained in:
parent
d8f89b8045
commit
d779aaa967
|
@ -5,6 +5,9 @@ set -e
|
|||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
COCOS2DX_ROOT="$DIR"/../..
|
||||
|
||||
export NDK_ROOT=$HOME/bin/android-ndk
|
||||
export PYTHON_BIN=/usr/bin/python
|
||||
|
||||
if [ "$GEN_JSB"x = "YES"x ]; then
|
||||
# Re-generation of the javascript bindings can perform push of the new
|
||||
# version back to github. We don't do this for pull requests, or if
|
||||
|
@ -26,8 +29,7 @@ if [ "$GEN_JSB"x = "YES"x ]; then
|
|||
echo "GH_USER not set"
|
||||
exit 0
|
||||
fi
|
||||
export NDK_ROOT=$HOME/bin/android-ndk
|
||||
export PYTHON_BIN=/usr/bin/python
|
||||
|
||||
cd $COCOS2DX_ROOT/tools/travis-scripts
|
||||
./generate-jsbindings.sh
|
||||
elif [ "$PLATFORM"x = "android"x ]; then
|
||||
|
|
Loading…
Reference in New Issue