Skip to content

rabbitmq/mix_task_archive_deps

 
 

Repository files navigation

Mix tasks to archive project dependencies

This repo contains Mix tasks to create *.ez archives for a project dependencies.

There are three new tasks:

  • archive.build.deps - build archives for a project dependencies
  • archive.build.elixir - build archives with Elixir and Elixir apps (like mix or logger)
  • archive.build.all - build dependencies archives and a project archive

The tasks are intended to use to create no-dependency distributions of Elixir apps, that can be run from Erlang runtime without installing Elixir and recompiling apps.

Installation

The package can be installed by adding mix_task_archive_deps to your list of dependencies in mix.exs:

def deps do
  [{:mix_task_archive_deps, "~> 1.0"}]
end

Alternatively the package can be installed as an archive from release:

mix archive.install \
    --force \
    --sha512 SHA512HERE \
    https://github.com/rabbitmq/mix_task_archive_deps/releases/download/1.0.0/mix_task_archive_deps-1.0.0.ez

The docs can be found at https://hexdocs.pm/mix_task_archive_deps.

About

Mix tasks to create dependencies .ez archives

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Elixir 100.0%