From 22d69e1d86841e7a051cd3de4fb5f266f3c1e9a8 Mon Sep 17 00:00:00 2001 From: Wojtek Mach Date: Thu, 8 Nov 2018 10:28:30 +0100 Subject: [PATCH 1/3] Minor docs updates --- lib/elixir/lib/application.ex | 5 ++--- lib/mix/lib/mix.ex | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/elixir/lib/application.ex b/lib/elixir/lib/application.ex index 511a4247ad8..fe14d984c5e 100644 --- a/lib/elixir/lib/application.ex +++ b/lib/elixir/lib/application.ex @@ -22,9 +22,8 @@ defmodule Application do lists returned by the `project/0` and `application/0` functions defined in `mix.exs`, and others are generated by Mix itself. - You can learn more about the generation of application resource files in the - documentation of `Mix.Tasks.Compile.App`, available as well by running `mix - help compile.app`. + You can learn more about the generation of application resource files by + running `mix help compile.app`. ## The application environment diff --git a/lib/mix/lib/mix.ex b/lib/mix/lib/mix.ex index f7ee7d74cfc..8ce4faadfc3 100644 --- a/lib/mix/lib/mix.ex +++ b/lib/mix/lib/mix.ex @@ -180,8 +180,8 @@ defmodule Mix do end In the example above we have created 2 aliases, the first example - `taskalias` will run task `hex.info`, then (`run`)[`Mix.Tasks.Run`] - to run an Elixir script, then (`cmd`)[`Mix.Tasks.Cmd`] to run a + `taskalias` will run task `mix hex.info`, then `mix run` + to run an Elixir script, then `mix cmd` to run a command line bash script. This shows how powerful aliases mixed with mix tasks can be. From 92e00326adffb9c50a7cac66515199c9f0a47627 Mon Sep 17 00:00:00 2001 From: Wojtek Mach Date: Thu, 8 Nov 2018 11:05:49 +0100 Subject: [PATCH 2/3] Revert Mix.Tasks.Compile.App piece --- lib/elixir/lib/application.ex | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/elixir/lib/application.ex b/lib/elixir/lib/application.ex index fe14d984c5e..511a4247ad8 100644 --- a/lib/elixir/lib/application.ex +++ b/lib/elixir/lib/application.ex @@ -22,8 +22,9 @@ defmodule Application do lists returned by the `project/0` and `application/0` functions defined in `mix.exs`, and others are generated by Mix itself. - You can learn more about the generation of application resource files by - running `mix help compile.app`. + You can learn more about the generation of application resource files in the + documentation of `Mix.Tasks.Compile.App`, available as well by running `mix + help compile.app`. ## The application environment From 63d2819d3ca794587bc8a9e908aa72e373e6333b Mon Sep 17 00:00:00 2001 From: Wojtek Mach Date: Thu, 8 Nov 2018 11:10:54 +0100 Subject: [PATCH 3/3] Update application.ex --- lib/elixir/lib/application.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/elixir/lib/application.ex b/lib/elixir/lib/application.ex index 511a4247ad8..40175ae325b 100644 --- a/lib/elixir/lib/application.ex +++ b/lib/elixir/lib/application.ex @@ -23,8 +23,8 @@ defmodule Application do `mix.exs`, and others are generated by Mix itself. You can learn more about the generation of application resource files in the - documentation of `Mix.Tasks.Compile.App`, available as well by running `mix - help compile.app`. + documentation of `Mix.Tasks.Compile.App`, available as well by running + `mix help compile.app`. ## The application environment