-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
29 additions
and
19 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,10 @@ | ||
defmodule Mix.Tasks.Blend.Init do | ||
@shortdoc "Initializes an empty blend.exs file" | ||
|
||
@moduledoc """ | ||
A task to generates an empty blend.exs file for you | ||
to define your blends, if you don't yet have one. | ||
It is created with a commented example in it. | ||
``` | ||
$ mix blend.init | ||
Successfully created blend.exs file | ||
``` | ||
""" | ||
@moduledoc false | ||
|
||
use Mix.Task | ||
|
||
@impl true | ||
def run(_args) do | ||
Blend.init() | ||
Blend.install() | ||
end | ||
end |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
defmodule Mix.Tasks.Blend.Install do | ||
@shortdoc "Initializes an empty blend.exs file" | ||
|
||
@moduledoc """ | ||
A task to generates an empty blend.exs file for you | ||
to define your blends, if you don't yet have one. | ||
It is created with a commented example in it. | ||
``` | ||
$ mix blend.install | ||
Successfully created blend.exs file | ||
``` | ||
""" | ||
|
||
use Mix.Task | ||
|
||
@impl true | ||
def run(_args) do | ||
Blend.install() | ||
end | ||
end |
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