1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-19 21:30:10 +01:00

Detect .gitmodules and add submodules build line

This commit is contained in:
Licaon_Kter 2020-06-11 16:36:54 +03:00
parent 294799e2f5
commit 72fde0f10b

View File

@ -191,6 +191,10 @@ def main():
'$$flutter$$/bin/flutter build apk',
]
git_modules = os.path.join(tmp_importer_dir, '.gitmodules')
if os.path.exists(git_modules):
build.submodules = True
metadata.post_metadata_parse(app)
app.builds.append(build)