1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-09 00:40:11 +01:00

Be more verbose about build skips and failures.

Dump reasons and locations.
This commit is contained in:
Paul Sokolovsky 2011-06-17 00:08:07 +03:00
parent 01fd3210d2
commit 39354f00b6

View File

@ -58,6 +58,11 @@ if not os.path.exists(built_dir):
for app in apps:
if app['disabled']:
print "Skipping %s: disabled" % app['id']
elif not app['builds']:
print "Skipping %s: no builds specified" % app['id']
if (app['disabled'] is None and app['repo'] != ''
and app['repotype'] != '' and (options.package is None or
options.package == app['id']) and len(app['builds']) > 0):
@ -414,7 +419,7 @@ for app in apps:
output = p.communicate()[0]
if p.returncode != 0:
print output
print "NDK build failed"
print "NDK build failed for %s:%s" % (app['id'], thisbuild['version'])
sys.exit(1)
elif options.verbose:
print output
@ -434,7 +439,7 @@ for app in apps:
output = p.communicate()[0]
if p.returncode != 0:
print output
print "Build failed"
print "Build failed for %s:%s" % (app['id'], thisbuild['version'])
sys.exit(1)
elif options.verbose:
print output