Use latest invoke version
This commit is contained in:
parent
7634b615a3
commit
18c2126f30
|
@ -48,7 +48,7 @@ def _get_apk_name(apk_name, config):
|
|||
'clean_dists': "Clean all distribution",
|
||||
'clean_builds': "Clean all builds",
|
||||
'install': "Install apk file in current active device"})
|
||||
def apk(project, apk_name=None, api=None, arch='armeabi-v7a',
|
||||
def apk(ctx, project, apk_name=None, api=None, arch='armeabi-v7a',
|
||||
distribution=None, clean_dists=False, clean_builds=False,
|
||||
install=False):
|
||||
"""Build project apk file"""
|
||||
|
@ -123,7 +123,7 @@ def apk(project, apk_name=None, api=None, arch='armeabi-v7a',
|
|||
'apk_name': "Name of the apk name build",
|
||||
'api': "Android API",
|
||||
'arch': "Architecture for which apk is built"})
|
||||
def install(project, apk_name=None, api='21', arch='armeabi-v7a'):
|
||||
def install(ctx, project, apk_name=None, api='21', arch='armeabi-v7a'):
|
||||
"""Install project apk file"""
|
||||
|
||||
logger.info('APK Install ...')
|
||||
|
@ -157,7 +157,7 @@ def _get_modules_path():
|
|||
|
||||
|
||||
@task()
|
||||
def create_links():
|
||||
def create_links(ctx):
|
||||
IGNORE_REPOS = ['trytond', 'tryton', 'sao', 'proteus',
|
||||
'dvconfig', 'config', 'nereid']
|
||||
res = True
|
||||
|
|
Loading…
Reference in New Issue