1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-05 18:50:09 +02:00

Always run 'clean' on ant and gradle projects too

This commit is contained in:
Daniel Martí 2013-09-27 10:50:56 +02:00
parent b70bcbfd23
commit 5adcd129f6

View File

@ -490,7 +490,7 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
if flavour in ['main', 'yes', '']:
flavour = ''
commands = [gradle]
commands = [gradle, 'clean']
if 'preassemble' in thisbuild:
for task in thisbuild['preassemble'].split():
commands.append(task)
@ -518,7 +518,7 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
else:
print "Building Ant project..."
antcommands = ['ant']
antcommands = ['ant', 'clean']
if install:
antcommands += ['debug','install']
elif 'antcommand' in thisbuild: