distillery_packager v1.0.4 DistilleryPackager.Plugin

This module provides integration with Distillery’s plugin system.

Link to this section Summary

Link to this section Functions

Link to this function after_assembly(release)
Link to this function after_assembly(release, options)

Called after assembling the release.

Should return a modified %Release{} or nil.

Callback implementation for Mix.Releases.Plugin.after_assembly/2.

Link to this function after_cleanup(release, arg2)

Called when the user invokes the mix release.clean task.

The callback will be passed the command line arguments to mix release.clean. It should clean up the files the plugin created. The return value of this callback is ignored.

Callback implementation for Mix.Releases.Plugin.after_cleanup/2.

Link to this function after_package(release)
Link to this function after_package(release, options)

Called after packaging the release.

Should return a modified %Release{} or nil.

When in dev_mode, the packaging phase is skipped.

Callback implementation for Mix.Releases.Plugin.after_package/2.

Link to this function after_release(release, options)
Link to this function before_assembly(release)
Link to this function before_assembly(release, options)

Called before assembling the release.

Should return a modified %Release{} or nil.

Callback implementation for Mix.Releases.Plugin.before_assembly/2.

Link to this function before_package(release)
Link to this function before_package(release, options)

Called before packaging the release.

Should return a modified %Release{} or nil.

When in dev_mode, the packaging phase is skipped.

Callback implementation for Mix.Releases.Plugin.before_package/2.

Link to this function before_release(release, options)