mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-14 15:02:51 +03:00
Stopped spewing out irrelevant stuff when building a single package
This commit is contained in:
parent
647729be24
commit
05e491dd62
1 changed files with 6 additions and 7 deletions
13
build.py
13
build.py
|
@ -74,15 +74,14 @@ if not os.path.isdir(build_dir):
|
||||||
|
|
||||||
for app in apps:
|
for app in apps:
|
||||||
|
|
||||||
if app['Disabled']:
|
if options.package and options.package != app['id']:
|
||||||
|
# Silent skip...
|
||||||
|
pass
|
||||||
|
elif app['Disabled']:
|
||||||
print "Skipping %s: disabled" % app['id']
|
print "Skipping %s: disabled" % app['id']
|
||||||
elif not app['builds']:
|
elif (not app['builds']) or app['Repo Type'] =='' or len(app['builds']) == 0:
|
||||||
print "Skipping %s: no builds specified" % app['id']
|
print "Skipping %s: no builds specified" % app['id']
|
||||||
|
else:
|
||||||
if (app['Disabled'] is None and app['Repo'] != ''
|
|
||||||
and app['Repo Type'] != '' and (options.package is None or
|
|
||||||
options.package == app['id']) and len(app['builds']) > 0):
|
|
||||||
|
|
||||||
print "Processing " + app['id']
|
print "Processing " + app['id']
|
||||||
|
|
||||||
build_dir = 'build/' + app['id']
|
build_dir = 'build/' + app['id']
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue