mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 14:32:28 +03:00
Added option to build.py to just do a single package, for testing
This commit is contained in:
parent
a07f11d495
commit
0af7a9403b
1 changed files with 5 additions and 1 deletions
6
build.py
6
build.py
|
@ -36,6 +36,8 @@ execfile('metadata.py')
|
|||
parser = OptionParser()
|
||||
parser.add_option("-v", "--verbose", action="store_true", default=False,
|
||||
help="Spew out even more information than normal")
|
||||
parser.add_option("-p", "--package", default=None,
|
||||
help="Build only the specified package")
|
||||
(options, args) = parser.parse_args()
|
||||
|
||||
# Get all apps...
|
||||
|
@ -48,7 +50,9 @@ os.mkdir(unsigned_dir)
|
|||
|
||||
for app in apps:
|
||||
|
||||
if app['disabled'] is None and app['repo'] != '' and app['repotype'] != '':
|
||||
if (app['disabled'] is None and app['repo'] != ''
|
||||
and app['repotype'] != '' and (options.package is None or
|
||||
options.package == app['id'])):
|
||||
|
||||
print "About to build " + app['id']
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue