Uses genbindings.py instead of genbindings.sh and genbindings.bat.

This commit is contained in:
James Chen 2014-02-10 18:30:22 +08:00
parent b06d54f706
commit c97b6cb197
3 changed files with 3 additions and 3 deletions

0
tools/tojs/genbindings.py Normal file → Executable file
View File

0
tools/tolua/genbindings.py Normal file → Executable file
View File

View File

@ -8,7 +8,7 @@
# Dependencies # Dependencies
# #
# For bindings generator: # 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) # ... for the defaults used if the environment is not customized)
# #
# * $PYTHON_BIN # * $PYTHON_BIN
@ -47,12 +47,12 @@ generate_bindings_glue_codes()
{ {
echo "Create auto-generated jsbinding glue codes." echo "Create auto-generated jsbinding glue codes."
pushd "$TOJS_ROOT" pushd "$TOJS_ROOT"
./genbindings.sh ./genbindings.py
popd popd
echo "Create auto-generated luabinding glue codes." echo "Create auto-generated luabinding glue codes."
pushd "$TOLUA_ROOT" pushd "$TOLUA_ROOT"
./genbindings.sh ./genbindings.py
popd popd
} }