Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write a summary at the end of the make cli command #7812

Merged
merged 1 commit into from
Nov 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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