minor improvements

This commit is contained in:
andyque 2015-07-07 16:56:38 +08:00
parent 0ca645f744
commit a18116aaa4
3 changed files with 8 additions and 12 deletions

View File

@ -102,16 +102,12 @@ def main():
exit_code = 1 exit_code = 1
# #clean workspace, we don't won't clean the repository # #clean workspace, we don't won't clean the repository
# if remote_build == 1: if remote_build == 1:
# os.system("cd " + workspace)
# os.system("git reset --hard")
# os.system("git clean -xdf -f")
# else:
# print "local build, no need to cleanup"
#remove stats module
os.system("cd " + workspace) os.system("cd " + workspace)
os.system("rm tools/cocos2d-console/bin/cocos_stat.py") os.system("git reset --hard")
os.system("rm tools/cocos2d-console/bin/cocos_stat.pyc") os.system("git clean -xdf -f")
else:
print "local build, no need to cleanup"
return(exit_code) return(exit_code)

View File

@ -26,7 +26,7 @@ else:
# for local debugging purpose, you could change the value to 0 and run # for local debugging purpose, you could change the value to 0 and run
# this scripts in your local machine # this scripts in your local machine
remote_build = 0 remote_build = 1
def download_3rd_library(): def download_3rd_library():
#run download-deps.py #run download-deps.py

View File

@ -26,7 +26,7 @@ else:
# for local debugging purpose, you could change the value to 0 and run # for local debugging purpose, you could change the value to 0 and run
# this scripts in your local machine # this scripts in your local machine
remote_build = 0 remote_build = 1
def download_3rd_library(): def download_3rd_library():
#run download-deps.py #run download-deps.py