Introduced --debug option for build.
This commit is contained in:
parent
3c7edcfe09
commit
8b8aadd911
|
@ -59,8 +59,9 @@ def getversion(query, jsonout, default_to_current):
|
|||
@click.option('--updatable', '-u', is_flag=True, default=False, help="Create an updatable AppImage (compatible with zsync2). Default: not updatable")
|
||||
@click.option('--download-path', '-d', default='./downloads', type=str, help="Path to the download folder. Default: ./downloads")
|
||||
@click.option('--repo-path', '-r', default='.', type=str, help="Path to the final storage of the AppImage. Default: current directory")
|
||||
@click.option('--debug', 'debug', is_flag=True, default=False, help="Activate debug options.")
|
||||
@click.argument('query')
|
||||
def build(arch, language, offline, portable, updatable, download_path, repo_path, check, checksums, sign, keep, query):
|
||||
def build(arch, language, offline, portable, updatable, download_path, repo_path, check, checksums, sign, keep, query, debug):
|
||||
"""Builds an Appimage with the provided options."""
|
||||
|
||||
# Multiple query support
|
||||
|
@ -110,6 +111,7 @@ def build(arch, language, offline, portable, updatable, download_path, repo_path
|
|||
appbuild.checksums()
|
||||
appbuild.publish()
|
||||
|
||||
if not debug:
|
||||
del appbuild
|
||||
|
||||
if not keep:
|
||||
|
|
Loading…
Reference in New Issue