mirror of https://github.com/axmolengine/axmol.git
Merge pull request #6727 from shujunqiao/pull-build-trigger
[ci skip], modify v3!=v2 about config.json.
This commit is contained in:
commit
77d330da77
|
@ -29,11 +29,13 @@ def set_description(desc, url):
|
|||
except:
|
||||
traceback.print_exc()
|
||||
|
||||
def check_current_3rd_libs():
|
||||
def check_current_3rd_libs(branch):
|
||||
#get current_libs config
|
||||
backup_files = range(2)
|
||||
current_files = range(2)
|
||||
config_file_paths = ['external/config.json','templates/lua-template-runtime/runtime/config.json']
|
||||
if (branch == 'v2'):
|
||||
config_file_paths = ['external/config.json']
|
||||
for i, config_file_path in enumerate(config_file_paths):
|
||||
if not os.path.isfile(config_file_path):
|
||||
raise Exception("Could not find 'external/config.json'")
|
||||
|
@ -133,7 +135,7 @@ def main():
|
|||
return(2)
|
||||
|
||||
#copy check_current_3rd_libs
|
||||
check_current_3rd_libs()
|
||||
check_current_3rd_libs(branch)
|
||||
|
||||
# Generate binding glue codes
|
||||
if(branch == 'v3'):
|
||||
|
|
Loading…
Reference in New Issue