fix templates daily build issue

This commit is contained in:
andyque 2015-07-03 15:18:33 +08:00
parent 99bad19cff
commit f37d4d226b
2 changed files with 6 additions and 0 deletions

View File

@ -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)

View File

@ -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