James Harton
634c4159be
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #8 Co-authored-by: James Harton <james@harton.nz> Co-committed-by: James Harton <james@harton.nz>
16 lines
345 B
Elixir
16 lines
345 B
Elixir
defmodule Mix.Tasks.ReactorReq.Install do
|
|
@moduledoc """
|
|
Installs Reactor.Req into a project. Should be called with `mix igniter.install reactor_req`.
|
|
"""
|
|
|
|
alias Igniter.{Mix.Task, Project.Formatter}
|
|
|
|
use Task
|
|
|
|
@doc false
|
|
@impl Task
|
|
def igniter(igniter, _argv) do
|
|
igniter
|
|
|> Formatter.import_dep(:reactor_req)
|
|
end
|
|
end
|