mirror of
https://github.com/ash-project/igniter.git
synced 2024-09-19 21:12:54 +12:00
docs: update module names in docs (#74)
Some checks are pending
CI / ash-ci (push) Waiting to run
Some checks are pending
CI / ash-ci (push) Waiting to run
This commit is contained in:
parent
810c42160a
commit
8002f8526d
1 changed files with 3 additions and 3 deletions
|
@ -8,9 +8,9 @@ defmodule Mix.Tasks.YourLib.Gen.YourThing do
|
||||||
use Igniter.Mix.Task
|
use Igniter.Mix.Task
|
||||||
|
|
||||||
def igniter(igniter, [module_name | _ ] = argv) do
|
def igniter(igniter, [module_name | _ ] = argv) do
|
||||||
module_name = Igniter.Module.parse(module_name)
|
module_name = Igniter.Code.Module.parse(module_name)
|
||||||
path = Igniter.Module.proper_location(module_name)
|
path = Igniter.Code.Module.proper_location(module_name)
|
||||||
app_name = Igniter.Application.app_name()
|
app_name = Igniter.Project.Application.app_name()
|
||||||
|
|
||||||
igniter
|
igniter
|
||||||
|> Igniter.create_new_elixir_file(path, """
|
|> Igniter.create_new_elixir_file(path, """
|
||||||
|
|
Loading…
Reference in a new issue