Skip to content

Commit 58dead9

Browse files
sharilsjosevalim
authored andcommitted
Make content match Elixir 1.5.3 (elixir-lang#1069)
1 parent ec29184 commit 58dead9

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

getting-started/mix-otp/supervisor-and-application.markdown

+6-5
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,13 @@ We can find the generated `.app` file at `_build/dev/lib/kv/ebin/kv.app`. Let's
113113

114114
```erlang
115115
{application,kv,
116-
[{registered,[]},
116+
[{applications,[kernel,stdlib,elixir,logger]},
117117
{description,"kv"},
118-
{applications,[kernel,stdlib,elixir,logger]},
119-
{vsn,"0.0.1"},
120-
{modules,['Elixir.KV','Elixir.KV.Bucket',
121-
'Elixir.KV.Registry','Elixir.KV.Supervisor']}]}.
118+
{modules,['Elixir.KV','Elixir.KV.Bucket','Elixir.KV.Registry',
119+
'Elixir.KV.Supervisor']},
120+
{registered,[]},
121+
{vsn,"0.1.0"},
122+
{extra_applications,[logger]}]}.
122123
```
123124

124125
This file contains Erlang terms (written using Erlang syntax). Even though we are not familiar with Erlang, it is easy to guess this file holds our application definition. It contains our application `version`, all the modules defined by it, as well as a list of applications we depend on, like Erlang's `kernel`, `elixir` itself, and `logger` which is specified in the `:extra_applications` list in `mix.exs`.

0 commit comments

Comments
 (0)