Skip to content

Instantly share code, notes, and snippets.

View chenxsan's full-sized avatar

Sam Chen chenxsan

View GitHub Profile
defmodule Wolf.ReleaseTasks do
@moduledoc ~S"""
Mix is not available in a built release. Instead we define the tasks here,
and invoke it using the application script generated in the release:
bin/wolf command Elixir.Wolf.ReleaseTasks create
bin/wolf command Elixir.Wolf.ReleaseTasks migrate
bin/wolf command Elixir.Wolf.ReleaseTasks seed
bin/wolf command Elixir.Wolf.ReleaseTasks drop
"""