File tree 2 files changed +11
-2
lines changed
2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,17 @@ defmodule Mix.Tasks.Bloom.Install do
2
2
@ moduledoc "Mix task to install components from the Bloom library"
3
3
use Mix.Task
4
4
5
+ @ doc """
6
+ Run the mix task with the component name as an argument to install the component.
7
+
8
+ ## Examples
9
+
10
+ iex> Mix.Tasks.Bloom.Install.run(["component_name"])
11
+ "component_name component installed successfully."
12
+
13
+ iex> Mix.Tasks.Bloom.Install.run(["nonexistent_component"])
14
+ "Component not found: nonexistent_component"
15
+ """
5
16
@ impl true
6
17
def run ( args ) do
7
18
case args do
Original file line number Diff line number Diff line change @@ -26,8 +26,6 @@ defmodule Bloom.MixProject do
26
26
{ :phoenix_html , "~> 4.0" } ,
27
27
{ :phoenix_html_helpers , "~> 1.0" } ,
28
28
{ :mox , "~> 1.0" , only: :test }
29
- # {:dep_from_hexpm, "~> 0.3.0"},
30
- # {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
31
29
]
32
30
end
33
31
end
You can’t perform that action at this time.
0 commit comments