Skip to content

Commit abb8817

Browse files
henrikjosevalim
authored andcommitted
inflect -> infer (#5503)
1 parent 5309843 commit abb8817

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

CHANGELOG.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ While the snippet above works fine in many occasions, for large collections it w
5555

5656
The `Task.async_stream` functions are also lazy, allowing developers to partially consume the stream until a condition is reached. Furthermore, `Task.Supervisor.async_stream/4` and `Task.Supervisor.async_stream/6` can be used to ensure the concurrent tasks are spawned under a given supervisor.
5757

58-
## Application inflection
58+
## Application inference
5959

60-
Mix v1.4 now automatically inflects the list of applications that are required on runtime from your dependencies list.
60+
Mix v1.4 now automatically infers the list of applications that are required on runtime from your dependencies list.
6161

6262
In previous Mix versions, most of your dependencies had to be added both to your dependencies list and applications list. Here is how a `mix.exs` would look like:
6363

@@ -72,7 +72,7 @@ In previous Mix versions, most of your dependencies had to be added both to your
7272

7373
This was error prone as many developers would not list their dependencies in their applications list.
7474

75-
Mix v1.4 now automatically inflects your applications list as long as you leave the `:applications` key empty. The `mix.exs` above can be rewritten to:
75+
Mix v1.4 now automatically infers your applications list as long as you leave the `:applications` key empty. The `mix.exs` above can be rewritten to:
7676

7777
def application do
7878
[extra_applications: [:logger]]
@@ -144,7 +144,7 @@ We hope this feature provides a more streamlined workflow for developers who are
144144
#### Mix
145145

146146
* [mix archive] Compress archive files built by `mix archive` as they are now unzipped during installation
147-
* [mix compile] Automatically inflect the list of applications for Mix projects
147+
* [mix compile] Automatically infer the list of applications for Mix projects
148148
* [mix cmd] Add the ability to specify one or more apps in `mix cmd`
149149
* [mix deps] Warn if there are non-applications in the `apps` directory for umbrella projects
150150
* [mix deps] Add warning for invalid paths on `mix deps.clean`

lib/mix/lib/mix/tasks/compile.app.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ defmodule Mix.Tasks.Compile.App do
1818
function in your `mix.exs` with the following options:
1919
2020
* `:applications` - all applications your application depends
21-
on at runtime. By default, this list is automatically inflected
21+
on at runtime. By default, this list is automatically inferred
2222
from your dependencies. Any extra Erlang/Elixir dependency
2323
must be specified in `:extra_applications`. Mix and other tools
2424
use the application list in order to start your dependencies

lib/mix/test/mix/tasks/compile.app_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ defmodule Mix.Tasks.Compile.AppTest do
8585
end
8686
end
8787

88-
test "automatically inflects applications" do
88+
test "automatically infers applications" do
8989
Mix.Project.push CustomDeps
9090

9191
in_fixture "no_mixfile", fn ->

0 commit comments

Comments
 (0)