Piccoli fix cosmetici allo script di build.
This commit is contained in:
parent
42be51b82e
commit
96907ad24b
@ -17,6 +17,7 @@ import loaih
|
|||||||
@click.argument('query')
|
@click.argument('query')
|
||||||
def build(arch, language, offline, portable, updatable, download, storage, check, query):
|
def build(arch, language, offline, portable, updatable, download, storage, check, query):
|
||||||
# Parsing options
|
# Parsing options
|
||||||
|
arches = []
|
||||||
if arch.lower() == 'all':
|
if arch.lower() == 'all':
|
||||||
# We need to build it twice.
|
# We need to build it twice.
|
||||||
arches = [ u'x86', u'x86_64' ]
|
arches = [ u'x86', u'x86_64' ]
|
||||||
@ -33,7 +34,7 @@ def build(arch, language, offline, portable, updatable, download, storage, check
|
|||||||
# generic default.
|
# generic default.
|
||||||
for build in config['builds']:
|
for build in config['builds']:
|
||||||
# Loop a run for each build.
|
# Loop a run for each build.
|
||||||
obj = loaih.Build(build['query'], [u'x86', u'x86_64'])
|
obj = loaih.Build(build['query'], arches)
|
||||||
|
|
||||||
obj.language = build['language']
|
obj.language = build['language']
|
||||||
obj.offline_help = build['offline_help']
|
obj.offline_help = build['offline_help']
|
||||||
|
Reference in New Issue
Block a user