allCommands method

List<ReleasePackerCommand> allCommands({
  1. String? platform,
})

All the commands of this packer for platform: prepare, files and finalize.

Implementation

List<ReleasePackerCommand> allCommands({String? platform}) => [
  ...?prepareCommands,
  for (var f in getFiles(platform: platform)) ...?f.commands,
  ...?finalizeCommands,
].where((c) => c.matchesPlatform(platform)).toList();