From 5adcd129f624e592aec3278702b98c700d20b8e0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Mart=C3=AD?= Date: Fri, 27 Sep 2013 10:50:56 +0200 Subject: [PATCH] Always run 'clean' on ant and gradle projects too --- fdroidserver/build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fdroidserver/build.py b/fdroidserver/build.py index 4011f0a8..8549b5d0 100644 --- a/fdroidserver/build.py +++ b/fdroidserver/build.py @@ -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: -- 2.30.2