mix hawk_ex.install (hawk_ex v0.1.0)

Copy Markdown View Source

Installs HawkEx migrations into a Phoenix application.

mix hawk_ex.install

This task:

  1. Copies HawkEx migration templates into priv/repo/migrations/.
  2. Prints the configuration block to add to config/config.exs.
  3. Prints the next steps required to finish setup.

Options

  • --repo - repo module used when naming migration modules. Defaults to the current Mix application name plus .Repo.

Example

mix hawk_ex.install
mix hawk_ex.install --repo MyApp.Repo

Summary

Functions

Callback implementation for Mix.Task.run/1.

Functions

run(args)

Callback implementation for Mix.Task.run/1.