axmol/tools/jenkins-scripts/gen_jsb.py

17 lines
272 B
Python
Raw Normal View History

#!/usr/bin/python
import os
import sys
ret = 0
2014-03-11 15:30:48 +08:00
genbindings_dirs = ['tolua']
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)