1
0

Piccoli fix cosmetici allo script di build.

This commit is contained in:
Emiliano Vavassori 2022-03-30 01:47:00 +02:00
parent 42be51b82e
commit 96907ad24b

View File

@ -17,6 +17,7 @@ import loaih
@click.argument('query')
def build(arch, language, offline, portable, updatable, download, storage, check, query):
# Parsing options
arches = []
if arch.lower() == 'all':
# We need to build it twice.
arches = [ u'x86', u'x86_64' ]
@ -33,7 +34,7 @@ def build(arch, language, offline, portable, updatable, download, storage, check
# generic default.
for build in config['builds']:
# 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.offline_help = build['offline_help']