Mix v1.1.1 Mix.Tasks.Archive.Install

Installs an archive locally.

If no argument is supplied but there is an archive in the root (created with mix archive), then the archive will be installed locally. For example:

mix do archive.build, archive.install

The argument can be an archive located at some URL:

mix archive.install http://example.com/foo.ez

After installed, the tasks in the archive are available locally:

mix some_task

Command line options

  • --sha512 - checks the archive matches the given sha512 checksum

  • --force - forces installation without a shell prompt; primarily intended for automation in build systems like make

Summary

Functions

Callback implementation for Mix.Task.run/1

Functions

run(argv)

Specs

run(OptionParser.argv) :: boolean

Callback implementation for Mix.Task.run/1.