mirror of https://github.com/axmolengine/axmol.git
fix templates daily build issue
This commit is contained in:
parent
99bad19cff
commit
f37d4d226b
|
@ -108,6 +108,10 @@ def main():
|
||||||
# os.system("git clean -xdf -f")
|
# os.system("git clean -xdf -f")
|
||||||
# else:
|
# else:
|
||||||
# print "local build, no need to cleanup"
|
# print "local build, no need to cleanup"
|
||||||
|
#remove stats module
|
||||||
|
os.system("cd " + workspace)
|
||||||
|
os.system("rm tools/cocos2d-console/bin/cocos_stat.py")
|
||||||
|
os.system("rm tools/cocos2d-console/bin/cocos_stat.pyc")
|
||||||
|
|
||||||
return(exit_code)
|
return(exit_code)
|
||||||
|
|
||||||
|
|
|
@ -80,6 +80,8 @@ def build_templates(mode, templates, is_runtime):
|
||||||
|
|
||||||
if node_name == "windows-universal":
|
if node_name == "windows-universal":
|
||||||
#run wp8.1 and windows 8.1
|
#run wp8.1 and windows 8.1
|
||||||
|
if is_runtime and type == "lua":
|
||||||
|
continue
|
||||||
wp_ret = os.system("cocos compile -p wp8_1 " + build_mode_args + " -s " + test_project_prefix + type + " --compile-script 0")
|
wp_ret = os.system("cocos compile -p wp8_1 " + build_mode_args + " -s " + test_project_prefix + type + " --compile-script 0")
|
||||||
winrt_ret = os.system("cocos compile -p metro " + build_mode_args + " -s " + test_project_prefix + type + " --compile-script 0")
|
winrt_ret = os.system("cocos compile -p metro " + build_mode_args + " -s " + test_project_prefix + type + " --compile-script 0")
|
||||||
ret += wp_ret
|
ret += wp_ret
|
||||||
|
|
Loading…
Reference in New Issue