runBuildRunner method

  1. @override
Future<void> runBuildRunner(
  1. String projectName
)
override

Implementation

@override
Future<void> runBuildRunner(String projectName) async {
  try {
    final result = await Process.run(
      'dart',
      ['run', 'build_runner', 'build', '-d'],
      workingDirectory: projectName,
    );

    if (result.exitCode != 0) {
      // Warning will be shown silently - user can run manually if needed
    }
  } catch (e) {
    // Silently handle - user can run manually if needed
  }
}