From c97b6cb197dfa076332bb1e816388edf0049c9dd Mon Sep 17 00:00:00 2001 From: James Chen Date: Mon, 10 Feb 2014 18:30:22 +0800 Subject: [PATCH] Uses genbindings.py instead of genbindings.sh and genbindings.bat. --- tools/tojs/genbindings.py | 0 tools/tolua/genbindings.py | 0 tools/travis-scripts/generate-jsbindings.sh | 6 +++--- 3 files changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 tools/tojs/genbindings.py mode change 100644 => 100755 tools/tolua/genbindings.py diff --git a/tools/tojs/genbindings.py b/tools/tojs/genbindings.py old mode 100644 new mode 100755 diff --git a/tools/tolua/genbindings.py b/tools/tolua/genbindings.py old mode 100644 new mode 100755 diff --git a/tools/travis-scripts/generate-jsbindings.sh b/tools/travis-scripts/generate-jsbindings.sh index cd7f897e20..a8d3f3ab9f 100755 --- a/tools/travis-scripts/generate-jsbindings.sh +++ b/tools/travis-scripts/generate-jsbindings.sh @@ -8,7 +8,7 @@ # Dependencies # # For bindings generator: -# (see ../../../tojs/genbindings.sh and ../../../tolua/genbindings.sh +# (see ../../../tojs/genbindings.py and ../../../tolua/genbindings.py # ... for the defaults used if the environment is not customized) # # * $PYTHON_BIN @@ -47,12 +47,12 @@ generate_bindings_glue_codes() { echo "Create auto-generated jsbinding glue codes." pushd "$TOJS_ROOT" - ./genbindings.sh + ./genbindings.py popd echo "Create auto-generated luabinding glue codes." pushd "$TOLUA_ROOT" - ./genbindings.sh + ./genbindings.py popd }