distillery v1.2.0 Mix.Releases.Archiver

This module is responsible for packaging a release into a tarball.

Summary

Functions

Given an assembled release, and the Release struct representing it, this function will package up the release into a tar.gz file

Functions

archive(release)
archive(Mix.Releases.Release.t) ::
  {:ok, String.t} |
  {:error, term}

Given an assembled release, and the Release struct representing it, this function will package up the release into a tar.gz file.

It returns {:ok, "path/to/tarball"}, or {:error, reason}