chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b70bcbf
)
Always run 'clean' on ant and gradle projects too
author
Daniel Martí
<mvdan@mvdan.cc>
Fri, 27 Sep 2013 08:50:56 +0000
(10:50 +0200)
committer
Daniel Martí
<mvdan@mvdan.cc>
Fri, 27 Sep 2013 08:50:56 +0000
(10:50 +0200)
fdroidserver/build.py
patch
|
blob
|
history
diff --git
a/fdroidserver/build.py
b/fdroidserver/build.py
index 4011f0a836c315b5e5b7d80442b88ea5478a142d..8549b5d08d2fdcdac58649236257723b0aebf760 100644
(file)
--- 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: