mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
build: don't add extra clean tasks
It is a good idea in theory, especially for extra tasks specified by the user. But in practice, tasks specified by developers often don't have a clean counterpart. So this just breaks the build.
This commit is contained in:
parent
0cf2539c89
commit
68e2b46cb0
1 changed files with 0 additions and 5 deletions
|
|
@ -526,11 +526,6 @@ def build_local(app, build, vcs, build_dir, output_dir, srclib_dir, extlib_dir,
|
||||||
if build.gradleprops:
|
if build.gradleprops:
|
||||||
cmd += ['-P'+kv for kv in build.gradleprops]
|
cmd += ['-P'+kv for kv in build.gradleprops]
|
||||||
|
|
||||||
for task in gradletasks:
|
|
||||||
parts = task.split(':')
|
|
||||||
parts[-1] = 'clean' + capitalize_intact(parts[-1])
|
|
||||||
cmd += [':'.join(parts)]
|
|
||||||
|
|
||||||
cmd += ['clean']
|
cmd += ['clean']
|
||||||
|
|
||||||
p = FDroidPopen(cmd, cwd=root_dir)
|
p = FDroidPopen(cmd, cwd=root_dir)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue