prepare method

Future<Map<ReleasePackerCommand, bool>> prepare(
  1. Directory rootDirectory, {
  2. String? platform,
})

Implementation

Future<Map<ReleasePackerCommand, bool>> prepare(
  Directory rootDirectory, {
  String? platform,
}) {
  var prepareCommands = this.prepareCommands;
  if (prepareCommands != null && prepareCommands.isNotEmpty) {
    print('\n»  Running prepare commands (${prepareCommands.length})...');
  }

  return ReleasePackerCommand.executeCommands(
    this,
    prepareCommands,
    rootDirectory,
    platform: platform,
  );
}