Skip to content

Commit 411d84e

Browse files
committed
Fixed typos in umbrella projects description
1 parent 9d882a9 commit 411d84e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

getting_started/mix/1.markdown

+4-4
Original file line numberDiff line numberDiff line change
@@ -216,11 +216,11 @@ If your dependency is another Mix or rebar project, Mix does the right thing: i
216216

217217
## 1.5 Umbrella projects
218218

219-
It can be convenient to bundle multiple Mix projects together and run Mix tasks for them at the same time. They can be bundled and used together in an what is called an umbrella project. An umbrella project can be created with the following command:
219+
It can be convenient to bundle multiple Mix projects together and run Mix tasks for them at the same time. They can be bundled and used together in what is called an umbrella project. An umbrella project can be created with the following command:
220220

221221
$ mix new project --umbrella
222222

223-
It will create a `mix.exs` file with the following contents:
223+
This will create a `mix.exs` file with the following contents:
224224

225225
{% highlight elixir %}
226226
defmodule Project.Mixfile do
@@ -232,9 +232,9 @@ defmodule Project.Mixfile do
232232
end
233233
{% endhighlight %}
234234

235-
The `apps_path` option specifies the directory where subprojects will reside. Mix tasks that run in the umbrella project will run for every project in the `apps_path` directory. For example `mix compile` or `mix test` will compile or test every project in the directory. It's important to note that an umbrella project is not a regular Mix project, it's not an OTP application nor can code source files be added.
235+
The `apps_path` option specifies the directory where subprojects will reside. Mix tasks that run in the umbrella project will run for every project in the `apps_path` directory. For example `mix compile` or `mix test` will compile or test every project in the directory. It's important to note that an umbrella project is neither a regular Mix project, nor is it an OTP application nor can code source files be added.
236236

237-
If there are interdependencies between subprojects these have to be specified so that Mix can compile the projects in the correct order. If one project A depends on another project B the dependency has to be specified in A's `mix.exs` file, add the following code to specifiy the dependency:
237+
If there are interdependencies between subprojects these have to be specified so that Mix can compile the projects in the correct order. If Project A depends on Project B, the dependency has to be specified in Project A's `mix.exs` file; modify the `mix.exs` file to specify the dependency:
238238

239239
{% highlight elixir %}
240240
defmodule A.Mixfile do

0 commit comments

Comments
 (0)