File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,12 @@ defmodule Mix.Tasks.Compile.Erlang do
41
41
42
42
For a list of the many more available options,
43
43
see [`:compile.file/2`](http://www.erlang.org/doc/man/compile.html#file-2).
44
+
45
+ For example, to configure the `erlc_options` for your Erlang project you
46
+ may run:
47
+
48
+ erlc_options: [:debug_info, {:i, 'path/to/include'}]
49
+
44
50
"""
45
51
46
52
@ doc """
Original file line number Diff line number Diff line change @@ -6,8 +6,7 @@ defmodule Mix.Tasks.Compile do
6
6
@ moduledoc """
7
7
A meta task that compiles source files.
8
8
9
- It simply runs the compilers registered in your project. At
10
- the end of compilation it ensures load paths are set.
9
+ It simply runs the compilers registered in your project.
11
10
12
11
## Configuration
13
12
@@ -28,6 +27,18 @@ defmodule Mix.Tasks.Compile do
28
27
this has undesirable side-effects (such as skipping some
29
28
compiler checks) and should be avoided.
30
29
30
+ ## Compilers
31
+
32
+ To see documentation for each specific compiler, you must
33
+ invoke `help` directly for the compiler command:
34
+
35
+ mix help compile.elixir
36
+ mix help compile.erlang
37
+
38
+ You can get a list of all compilers by running:
39
+
40
+ mix compile --list
41
+
31
42
## Command line options
32
43
33
44
* `--list` - list all enabled compilers
You can’t perform that action at this time.
0 commit comments