mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-14 19:10:11 +01:00
lint: only check unused exlibs if using all apps
This commit is contained in:
parent
720d40ac1c
commit
3e88b7444d
@ -387,9 +387,10 @@ def main():
|
|||||||
|
|
||||||
anywarns = False
|
anywarns = False
|
||||||
|
|
||||||
apps_check_funcs = [
|
apps_check_funcs = []
|
||||||
check_extlib_dir,
|
if len(options.appid) == 0:
|
||||||
]
|
# otherwise it finds tons of unused extlibs
|
||||||
|
apps_check_funcs.append(check_extlib_dir)
|
||||||
for check_func in apps_check_funcs:
|
for check_func in apps_check_funcs:
|
||||||
for warn in check_func(apps.values()):
|
for warn in check_func(apps.values()):
|
||||||
anywarns = True
|
anywarns = True
|
||||||
|
Loading…
Reference in New Issue
Block a user