mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-09 17:00:12 +01:00
Forgot to execute cleaning process
This commit is contained in:
parent
697011f086
commit
1cf99754a4
@ -352,6 +352,8 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
|
|||||||
# We need to clean via the build tool in case the binary dirs are
|
# We need to clean via the build tool in case the binary dirs are
|
||||||
# different from the default ones
|
# different from the default ones
|
||||||
p = None
|
p = None
|
||||||
|
output = ''
|
||||||
|
error = ''
|
||||||
if 'maven' in thisbuild:
|
if 'maven' in thisbuild:
|
||||||
print "Cleaning Maven project..."
|
print "Cleaning Maven project..."
|
||||||
cmd = [mvn3, 'clean', '-Dandroid.sdk.path=' + sdk_path]
|
cmd = [mvn3, 'clean', '-Dandroid.sdk.path=' + sdk_path]
|
||||||
@ -390,6 +392,11 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
|
|||||||
else:
|
else:
|
||||||
error += line
|
error += line
|
||||||
|
|
||||||
|
p.communicate()
|
||||||
|
if p.returncode != 0:
|
||||||
|
raise BuildException("Error cleaning %s:%s" %
|
||||||
|
(app['id'], thisbuild['version']), output, error)
|
||||||
|
|
||||||
# Also clean jni
|
# Also clean jni
|
||||||
print "Cleaning jni dirs..."
|
print "Cleaning jni dirs..."
|
||||||
for baddir in [
|
for baddir in [
|
||||||
|
Loading…
Reference in New Issue
Block a user