def _monitor_build(lp: LaunchpadClient) -> None: target_list = humanize_list(lp.architectures, "and", "{}") echo.info( f"Building snap package for {target_list}. This may take some time to finish." ) lp.monitor_build() echo.info("Build complete.") lp.cleanup()
def _clean_build(lp: LaunchpadClient): echo.info("Cleaning existing builds and artifacts...") lp.cleanup() echo.info("Done.")