1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-02 09:10:11 +02: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)