Mix v1.1.1 Mix.Tasks.Local.Rebar

Fetches a copy of rebar from the given path or url.

It defaults to safely download a rebar copy from Amazon S3. However, a URL can be given as argument, usually from an existing local copy of rebar.

The local copy is stored in your MIX_HOME (defaults to ~/.mix). This version of rebar will be used as required by mix deps.compile.

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) :: true

Callback implementation for Mix.Task.run/1.