Exemplo n.º 1
0
def fast_deploy(show_log=False):
    """
    Remove the old python and qml source files, copy the current files to
    the device, (re)start the app, show log output.
    """

    ensure_project_dir()

    remove_old_files()
    copy_files()
    script_utils.restart_app(show_log)
Exemplo n.º 2
0
def fast_deploy(show_log=False):
    """
    Remove the old python and qml source files, copy the current files to
    the device, (re)start the app, show log output.
    """

    ensure_project_dir()

    remove_old_files()
    copy_files()
    script_utils.restart_app(show_log)
Exemplo n.º 3
0
def complete_deploy(show_log=False):
    """
    Zip the PySide app, clean, build and deploy the project, then start it.
    """

    # Zipping is automatically done by qmake because of the pre-build-script
    # defined in qtcreator_config_file()

    ensure_project_dir()

    export_environment_variables()
    build()
    deploy()
    restart_app(show_log=show_log)
Exemplo n.º 4
0
def complete_deploy(show_log=False):
    """
    Zip the PySide app, clean, build and deploy the project, then start it.
    """

    # Zipping is automatically done by qmake because of the pre-build-script
    # defined in qtcreator_config_file()

    ensure_project_dir()

    export_environment_variables()
    build()
    deploy()
    restart_app(show_log=show_log)