mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
Always run 'clean' on ant and gradle projects too
This commit is contained in:
parent
b70bcbfd23
commit
5adcd129f6
1 changed files with 2 additions and 2 deletions
|
|
@ -490,7 +490,7 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
|
||||||
if flavour in ['main', 'yes', '']:
|
if flavour in ['main', 'yes', '']:
|
||||||
flavour = ''
|
flavour = ''
|
||||||
|
|
||||||
commands = [gradle]
|
commands = [gradle, 'clean']
|
||||||
if 'preassemble' in thisbuild:
|
if 'preassemble' in thisbuild:
|
||||||
for task in thisbuild['preassemble'].split():
|
for task in thisbuild['preassemble'].split():
|
||||||
commands.append(task)
|
commands.append(task)
|
||||||
|
|
@ -518,7 +518,7 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
|
||||||
|
|
||||||
else:
|
else:
|
||||||
print "Building Ant project..."
|
print "Building Ant project..."
|
||||||
antcommands = ['ant']
|
antcommands = ['ant', 'clean']
|
||||||
if install:
|
if install:
|
||||||
antcommands += ['debug','install']
|
antcommands += ['debug','install']
|
||||||
elif 'antcommand' in thisbuild:
|
elif 'antcommand' in thisbuild:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue