mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-03-18 06:58:26 -04: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:
@@ -526,11 +526,6 @@ def build_local(app, build, vcs, build_dir, output_dir, srclib_dir, extlib_dir,
|
||||
if 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']
|
||||
|
||||
p = FDroidPopen(cmd, cwd=root_dir)
|
||||
|
||||
Reference in New Issue
Block a user