chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
720d40a
)
lint: only check unused exlibs if using all apps
author
Daniel Martí
<mvdan@mvdan.cc>
Fri, 17 Jun 2016 10:35:44 +0000
(11:35 +0100)
committer
Daniel Martí
<mvdan@mvdan.cc>
Fri, 17 Jun 2016 10:35:44 +0000
(11:35 +0100)
fdroidserver/lint.py
patch
|
blob
|
history
diff --git
a/fdroidserver/lint.py
b/fdroidserver/lint.py
index 426f7cd0bf57825a9f55e479823d52cc0d80f866..c805288f2112232ed42371c58e32478314edb75e 100644
(file)
--- a/
fdroidserver/lint.py
+++ b/
fdroidserver/lint.py
@@
-387,9
+387,10
@@
def main():
anywarns = False
- apps_check_funcs = [
- check_extlib_dir,
- ]
+ apps_check_funcs = []
+ 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 warn in check_func(apps.values()):
anywarns = True