mirror of https://github.com/axmolengine/axmol.git
17 lines
276 B
Python
17 lines
276 B
Python
|
#!/usr/bin/python
|
||
|
|
||
|
import os
|
||
|
import sys
|
||
|
|
||
|
ret = 0
|
||
|
genbindings_dirs = ['tolua', 'tojs']
|
||
|
for item in genbindings_dirs:
|
||
|
os.chdir("tools/" + item)
|
||
|
ret = os.system('python genbindings.py')
|
||
|
os.chdir("../..")
|
||
|
if(ret != 0):
|
||
|
ret = 1
|
||
|
break
|
||
|
|
||
|
sys.exit(ret)
|