mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
Merge branch 'warn_on_aar' into 'master'
scanner: warn on aar files See merge request !332
This commit is contained in:
commit
7513432a41
1 changed files with 3 additions and 0 deletions
|
|
@ -200,6 +200,9 @@ def scan_source(build_dir, build):
|
||||||
count += handleproblem('usual supect \'%s\'' % name, path_in_build_dir, filepath)
|
count += handleproblem('usual supect \'%s\'' % name, path_in_build_dir, filepath)
|
||||||
warnproblem('JAR file', path_in_build_dir)
|
warnproblem('JAR file', path_in_build_dir)
|
||||||
|
|
||||||
|
elif ext == 'aar':
|
||||||
|
warnproblem('AAR file', path_in_build_dir)
|
||||||
|
|
||||||
elif ext == 'java':
|
elif ext == 'java':
|
||||||
if not os.path.isfile(filepath):
|
if not os.path.isfile(filepath):
|
||||||
continue
|
continue
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue