This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
""" |