Skip to content

Commit

Permalink
cli: enable "streaming brief" mode
Browse files Browse the repository at this point in the history
Fixes #4317
  • Loading branch information
tigarmo authored and sergiusens committed Aug 25, 2023
1 parent ab554f7 commit e1491d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions snapcraft/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ def get_dispatcher() -> craft_cli.Dispatcher:
appname="snapcraft",
greeting=f"Starting Snapcraft {__version__}",
log_filepath=log_filepath,
streaming_brief=True,
)

return craft_cli.Dispatcher(
Expand Down
2 changes: 1 addition & 1 deletion snapcraft/parts/lifecycle.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ def _run_lifecycle_and_pack(
version=process_version(project.version),
target_arch=project.get_build_for(),
)
emit.message(f"Created snap package {snap_filename}")
emit.progress(f"Created snap package {snap_filename}", permanent=True)


def _generate_metadata(
Expand Down

0 comments on commit e1491d1

Please sign in to comment.