1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-13 18:40:12 +01:00

Merge branch 'importsubmodules' into 'master'

Import - Detect .gitmodules and add submodules build line

See merge request fdroid/fdroidserver!765
This commit is contained in:
Marcus 2020-06-12 19:26:23 +00:00
commit be814bf002

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)