mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-14 02:50:12 +01:00
Capitalize gradle flavour commands to avoid confusion
This commit is contained in:
parent
9014206b76
commit
6cdf509c9e
@ -613,7 +613,9 @@ 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:
|
||||||
commands += thisbuild['preassemble'].split()
|
commands += thisbuild['preassemble'].split()
|
||||||
commands += ['assemble'+''.join(flavours)+'Release']
|
flavours_cmd = ''.join(flavours)
|
||||||
|
flavours_cmd = flavours_cmd[0].upper() + flavours_cmd[1:]
|
||||||
|
commands += ['assemble'+flavours_cmd+'Release']
|
||||||
|
|
||||||
p = FDroidPopen(commands, cwd=gradle_dir)
|
p = FDroidPopen(commands, cwd=gradle_dir)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user