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

Easier preassemble handling

This commit is contained in:
Daniel Martí 2014-01-24 10:42:11 +01:00
parent 325cca0e37
commit 83c3a8b68e

View File

@ -611,8 +611,7 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
commands = [config['gradle']] commands = [config['gradle']]
if 'preassemble' in thisbuild: if 'preassemble' in thisbuild:
for task in thisbuild['preassemble'].split(): commands += thisbuild['preassemble'].split()
commands.append(task)
commands += ['assemble'+''.join(flavours)+'Release'] commands += ['assemble'+''.join(flavours)+'Release']
p = FDroidPopen(commands, cwd=gradle_dir) p = FDroidPopen(commands, cwd=gradle_dir)