Skip to content

Commit 31b1717

Browse files
committed
Fix a couple typos in Deps. and Umbrella Apps
1 parent a99dd1f commit 31b1717

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

getting-started/mix-otp/dependencies-and-umbrella-apps.markdown

+4-4
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def deps do
4646
end
4747
```
4848

49-
This dependency refers to the latest version of plug in the 0.5.x version series that has been pushed to Hex. This is indicated by the `~>` preceding the version number. For more information on specifying version requirements, see the [documentation for the Version module](/docs/stable/elixir/#!Version.html).
49+
This dependency refers to the latest version of Plug in the 0.5.x version series that has been pushed to Hex. This is indicated by the `~>` preceding the version number. For more information on specifying version requirements, see the [documentation for the Version module](/docs/stable/elixir/#!Version.html).
5050

5151
Typically, stable releases are pushed to Hex. If you want to depend on an external dependency still in development, Mix is able to manage git dependencies, too:
5252

@@ -76,7 +76,7 @@ The most common tasks are `mix deps.get` and `mix deps.update`. Once fetched, de
7676

7777
Internal dependencies are the ones that are specific to your project. They usually don't make sense outside the scope of your project/company/organization. Most of the time, you want to keep them private, whether due to technical, economic or business reasons.
7878

79-
If you have an internal dependency, Mix supports two methods of working with them: git repositories or umbrella projects.
79+
If you have an internal dependency, Mix supports two methods to work with them: git repositories or umbrella projects.
8080

8181
For example, if you push the `kv` project to a git repository, you just need to list it in your deps code in order to use it:
8282

@@ -94,7 +94,7 @@ However, if you push every application as a separate project to a git repository
9494

9595
For this reason, Mix supports "umbrella projects." Umbrella projects allow you to create one project that hosts many applications and push all of them to a single git repository. That is exactly the style we are going to explore in the next sections.
9696

97-
What we are going to do is create a new mix project. We are going to creatively name it `kv_umbrella`, and this new project will have both the existing `kv` application and the new `kv_server` application inside. The directory structure will look like this:
97+
What we are going to do is create a new Mix project. We are going to creatively name it `kv_umbrella`, and this new project will have both the existing `kv` application and the new `kv_server` application inside. The directory structure will look like this:
9898

9999
+ kv_umbrella
100100
+ apps
@@ -156,7 +156,7 @@ defmodule KVServer.Mixfile do
156156
version: "0.0.1",
157157
deps_path: "../../deps",
158158
lockfile: "../../mix.lock",
159-
elixir: "~> 0.14.1-dev",
159+
elixir: "~> 1.0",
160160
deps: deps]
161161
end
162162

0 commit comments

Comments
 (0)