mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 13:33:20 +12:00
13 lines
394 B
Elixir
13 lines
394 B
Elixir
|
defmodule Mix.Tasks.Ash.Reset do
|
||
|
@moduledoc """
|
||
|
Runs all tear down tasks for any extension on any resource/api in your application, followed by setup tasks.
|
||
|
"""
|
||
|
use Mix.Task
|
||
|
|
||
|
@shortdoc "Runs all tear down & setup tasks for any extension on any resource/api in your application."
|
||
|
def run(argv) do
|
||
|
Mix.Task.run("ash.tear_down", argv)
|
||
|
Mix.Task.run("ash.setup", argv)
|
||
|
end
|
||
|
end
|