mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-01 16:05:07 +01:00
travis: only warn about missing dll (MinGW)
This commit is contained in:
parent
dfebf89cc9
commit
3a82c2eb3a
@ -16,6 +16,8 @@ DLL_PATH = [
|
|||||||
'/usr/lib/gcc/x86_64-w64-mingw32/7.3-posix/'
|
'/usr/lib/gcc/x86_64-w64-mingw32/7.3-posix/'
|
||||||
]
|
]
|
||||||
|
|
||||||
|
missing = []
|
||||||
|
|
||||||
|
|
||||||
def parse_imports(file_name):
|
def parse_imports(file_name):
|
||||||
results = []
|
results = []
|
||||||
@ -56,7 +58,8 @@ def parse_imports_recursive(file_name, path_list=[]):
|
|||||||
# find the requested dll in the provided paths
|
# find the requested dll in the provided paths
|
||||||
full_path = find_dll(dep)
|
full_path = find_dll(dep)
|
||||||
if not full_path:
|
if not full_path:
|
||||||
raise Exception('Cannot find %s!' % dep)
|
missing.append(dep)
|
||||||
|
continue
|
||||||
full_list.append(dep)
|
full_list.append(dep)
|
||||||
q.put(full_path)
|
q.put(full_path)
|
||||||
path_list.append(full_path)
|
path_list.append(full_path)
|
||||||
@ -94,6 +97,9 @@ def main():
|
|||||||
return 1
|
return 1
|
||||||
print('Scanning dependencies...')
|
print('Scanning dependencies...')
|
||||||
deploy(to_deploy, tgt_dir)
|
deploy(to_deploy, tgt_dir)
|
||||||
|
if missing:
|
||||||
|
print('Following DLLs are not found: %s' % ('\n'.join(missing)))
|
||||||
|
return 0
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
Loading…
Reference in New Issue
Block a user