mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
Make gradle and antcommands (previously antcommand) proper lists
This commit is contained in:
parent
ce25054648
commit
a195556378
5 changed files with 29 additions and 29 deletions
|
|
@ -99,7 +99,7 @@ flag_defaults = OrderedDict([
|
|||
('build', ''),
|
||||
('buildjni', []),
|
||||
('preassemble', []),
|
||||
('antcommand', None),
|
||||
('antcommands', None),
|
||||
('novcheck', False),
|
||||
])
|
||||
|
||||
|
|
@ -528,7 +528,7 @@ def metafieldtype(name):
|
|||
|
||||
def flagtype(name):
|
||||
if name in ['extlibs', 'srclibs', 'patch', 'rm', 'buildjni',
|
||||
'update', 'scanignore', 'scandelete']:
|
||||
'update', 'scanignore', 'scandelete', 'gradle', 'antcommands']:
|
||||
return 'list'
|
||||
if name in ['init', 'prebuild', 'build']:
|
||||
return 'script'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue