Skip to content

Commit

Permalink
Write a summary at the end of the make cli command (#7812)
Browse files Browse the repository at this point in the history
This is similar to the end of the verify cli command
  • Loading branch information
jwren authored Nov 23, 2024
1 parent 8356b2f commit 578d223
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tool/plugin/lib/plugin.dart
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ class GradleBuildCommand extends ProductCommand {
separator('Building flutter-intellij.jar');
await removeAll('build');

log('spec.version: ${spec.version}');
log('$spec');

result = await applyEdits(spec, () async {
return await externalBuildCommand(spec);
Expand Down Expand Up @@ -400,7 +400,11 @@ class GradleBuildCommand extends ProductCommand {
if (argResults.option('only-version') == null) {
checkAndClearAppliedEditCommands();
}
return 0;
// Print a summary of the collection of plugin versions built:
var builtVersions = buildSpecs.map((spec) => spec.name).toList().join(', ');
log('\nMake of the ${buildSpecs.length} builds was '
'successful: $builtVersions.');
return result;
}

Future<int> externalBuildCommand(BuildSpec spec) async {
Expand Down

0 comments on commit 578d223

Please sign in to comment.