mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03:00
Merge branch 'autoname' into 'master'
checkupdates: sort the order of dirs when finding autoname See merge request fdroid/fdroidserver!1601
This commit is contained in:
commit
6df9d0ecba
1 changed files with 2 additions and 1 deletions
|
@ -381,7 +381,8 @@ def dirs_with_manifest(startdir: str):
|
|||
A directory that contains a manifest file of an Android project, None if
|
||||
no directory could be found
|
||||
"""
|
||||
for root, _dirs, files in os.walk(startdir):
|
||||
for root, dirs, files in os.walk(startdir):
|
||||
dirs.sort()
|
||||
if any(m in files for m in [
|
||||
'AndroidManifest.xml', 'pom.xml', 'build.gradle', 'build.gradle.kts']):
|
||||
yield Path(root)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue