mirror of https://github.com/axmolengine/axmol.git
minor improvements
This commit is contained in:
parent
0ca645f744
commit
a18116aaa4
|
@ -102,16 +102,12 @@ def main():
|
|||
exit_code = 1
|
||||
|
||||
# #clean workspace, we don't won't clean the repository
|
||||
# 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("rm tools/cocos2d-console/bin/cocos_stat.py")
|
||||
os.system("rm tools/cocos2d-console/bin/cocos_stat.pyc")
|
||||
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"
|
||||
|
||||
return(exit_code)
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ else:
|
|||
|
||||
# for local debugging purpose, you could change the value to 0 and run
|
||||
# this scripts in your local machine
|
||||
remote_build = 0
|
||||
remote_build = 1
|
||||
|
||||
def download_3rd_library():
|
||||
#run download-deps.py
|
||||
|
|
|
@ -26,7 +26,7 @@ else:
|
|||
|
||||
# for local debugging purpose, you could change the value to 0 and run
|
||||
# this scripts in your local machine
|
||||
remote_build = 0
|
||||
remote_build = 1
|
||||
|
||||
def download_3rd_library():
|
||||
#run download-deps.py
|
||||
|
|
Loading…
Reference in New Issue