mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 16:12:40 +08:00
2c9a52d667
* fix secure issue * check variable in its file
17 lines
342 B
Bash
Executable File
17 lines
342 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
COCOS2DX_ROOT="$DIR"/../..
|
|
|
|
if [ -z "$NDK_ROOT" ]; then
|
|
export NDK_ROOT=$HOME/bin/android-ndk
|
|
fi
|
|
|
|
cd $COCOS2DX_ROOT/tools/travis-scripts
|
|
./generate-bindings.sh $TRAVIS_BRANCH
|
|
|
|
cd $COCOS2DX_ROOT/tools/travis-scripts
|
|
./generate-cocosfiles.sh $TRAVIS_BRANCH
|
|
exit 0
|