Skip to content

Commit 4bab217

Browse files
fertapricjosevalim
authored andcommitted
Update mix.ex (#7799)
1 parent 2a610bd commit 4bab217

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/mix/lib/mix.ex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ defmodule Mix do
162162
in the current project do not affect its dependencies and aliases
163163
defined in dependencies are not accessible from the current project.
164164
165-
Aliases can be used very powerfully to also run elixir scripts and
165+
Aliases can be used very powerfully to also run Elixir scripts and
166166
bash commands, for example:
167167
168168
# priv/hello.exs
@@ -180,13 +180,13 @@ defmodule Mix do
180180
]
181181
end
182182
183-
In the example above we have created 3 aliases, the first example
183+
In the example above we have created 2 aliases, the first example
184184
`taskalias` will run task `hex.info`, then (`run`)[`Mix.Tasks.Run`]
185-
to run an elixir script, then (`cmd`)[`Mix.Tasks.Cmd`] to run a
185+
to run an Elixir script, then (`cmd`)[`Mix.Tasks.Cmd`] to run a
186186
command line bash script. This shows how powerful aliases mixed
187187
with mix tasks can be.
188188
189-
`taskalias2` shows a limitation of tasks where only one of the given
189+
`taskalias2` shows a limitation of tasks where only one of the given
190190
tasks will run, the execution of `run priv/hello2.exs` will not run.
191191
The `run` command, however, can accept multiple files, so in case
192192
of running multiple files, it can be rewritten to:

0 commit comments

Comments
 (0)