shoehorn v0.6.0 Shoehorn.Plugin View Source
Link to this section Summary
Functions
Called after assembling the release.
Called when the user invokes the mix distillery.release.clean
task.
Called after packaging the release.
Called before assembling the release.
Called before packaging the release.
Link to this section Functions
after_assembly(release) View Source
after_assembly(release, opts) View Source
Called after assembling the release.
Should return a modified %Release{}
or nil
.
Callback implementation for Distillery.Releases.Plugin.after_assembly/2
.
after_cleanup(release, arg2) View Source
Called when the user invokes the mix distillery.release.clean
task.
The callback will be passed the command line arguments to mix distillery.release.clean
.
It should clean up the files the plugin created. The return value of this
callback is ignored.
Callback implementation for Distillery.Releases.Plugin.after_cleanup/2
.
after_package(release) View Source
after_package(release, opts) View Source
Called after packaging the release.
Should return a modified %Release{}
or nil
.
When in dev_mode
, the packaging phase is skipped.
Callback implementation for Distillery.Releases.Plugin.after_package/2
.
before_assembly(release) View Source
before_assembly(release, opts) View Source
Called before assembling the release.
Should return a modified %Release{}
or nil
.
Callback implementation for Distillery.Releases.Plugin.before_assembly/2
.
before_package(release) View Source
before_package(release, opts) View Source
Called before packaging the release.
Should return a modified %Release{}
or nil
.
When in dev_mode
, the packaging phase is skipped.
Callback implementation for Distillery.Releases.Plugin.before_package/2
.