showEnded static method
void
showEnded({
- required CommandLogger logger,
- required List<
AppBuildDetail> details, - String? versionName,
Prints a status line per build in details, which have all ended,
and then their result.
Throws FailureException if a build did not succeed.
Implementation
static void showEnded({
required CommandLogger logger,
required List<AppBuildDetail> details,
String? versionName,
}) {
for (final detail in details) {
logger.line(AppBuildStatusFormatter.line(detail.build.platform, detail));
}
_report(
logger,
platforms: [for (final detail in details) detail.build.platform],
details: {for (final detail in details) detail.build.platform: detail},
versionName: versionName,
);
}