generateGithubActionMason method

void generateGithubActionMason(
  1. String projectName
)

Implementation

void generateGithubActionMason(String projectName) async {
  final brick = Brick.git(
    const GitPath(
      'https://github.com/elysian12/flutter_template_brick',
      path: 'github_action',
    ),
  );
  final generator = await MasonGenerator.fromBrick(brick);
  final target = DirectoryGeneratorTarget(Directory('$projectName/'));
  await generator.generate(target, vars: <String, dynamic>{
    "project": projectName,
  });
}