runBuildRunner method
Run build_runner in a project
Implementation
Future<bool> runBuildRunner(String projectPath) async {
info('Running build_runner in: ${p.basename(projectPath)}');
final ProcessResult? result = await _runner.runWithRetry(
'dart',
<String>['run', 'build_runner', 'build', '--delete-conflicting-outputs'],
workingDirectory: projectPath,
operationName: 'build_runner (${p.basename(projectPath)})',
);
return result != null && result.success;
}