ReleasePacker class
Constructors
ReleasePacker (String name , Version version , List <ReleasePackerFile > files , {List <ReleasePackerCommand > ? prepareCommands , List <ReleasePackerCommand > ? finalizeCommands , Map <String , String > ? properties , Directory ? configDirectory })
ReleasePacker.fromFile (File file , {Map <String , String > ? properties , Directory ? rootDirectory , bool allowPropertiesFromEnv = false })
factory
ReleasePacker.fromFilePath (String filePath , {Map <String , String > ? properties , Directory ? rootDirectory , bool allowPropertiesFromEnv = false })
factory
ReleasePacker.fromJson (Map <String , Object ? > json , {Map <String , String > ? properties , Directory ? rootDirectory , bool allowPropertiesFromEnv = false })
factory
Methods
allCommands ({String ? platform })
→ List <ReleasePackerCommand >
All the commands of this packer for platform: prepare, files and
finalize.
buildFromDirectory ({Directory ? rootDirectory , String ? sourcePath , String ? platform })
→ Future <ReleaseBundleZip >
checkBuildHooks (Directory rootDirectory , {String ? platform , bool warnings = true })
→ void
Checks that the commands for platform support the build hooks of the
packages of rootDirectory.
finalize (Directory rootDirectory , {ReleaseBundle ? releaseBundle , String ? platform })
→ Future <Map <ReleasePackerCommand , ReleasePackerCommandStatus > >
Runs the finalizeCommands .
getFile (String filePath , {String ? platform })
→ ReleasePackerFile ?
getFileMatching (RegExp filePathRegexp )
→ ReleasePackerFile ?
getFiles ({String ? platform })
→ List <ReleasePackerFile >
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prepare (Directory rootDirectory , {String ? platform })
→ Future <Map <ReleasePackerCommand , ReleasePackerCommandStatus > >
Runs the prepareCommands .
toString ()
→ String
A string representation of this object.
override