Skip to content

Commit a7c6b8d

Browse files
author
José Valim
committed
Document --no-deps-check rather than --no-deps
1 parent 1a26ea2 commit a7c6b8d

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

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

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,13 @@ defmodule Mix.Tasks.Compile do
1313
1414
* `:compilers` - compilers to be run, defaults to:
1515
16-
```
17-
[:elixir, :app]
18-
```
19-
20-
It can be configured to handle custom compilers, for example:
21-
22-
```
23-
[compilers: [:elixir, :mycompiler, :app]]
24-
```
16+
[:leex, :yeec, :erlang, :elixir, :app]
2517
2618
## Command line options
2719
28-
* `--list` - List all enabled compilers.
20+
* `--list` - List all enabled compilers
2921
30-
* `--no-deps` - Skips compilation and loading of dependencies.
22+
* `--no-deps-check` - Skips checking of dependencies
3123
3224
Remaining options are forwarded to underlying compilers.
3325
@@ -62,6 +54,9 @@ defmodule Mix.Tasks.Compile do
6254
Runs this compile task by recursively calling all registered compilers.
6355
"""
6456
def run(args) do
57+
# --no-deps is used only internally. It has not purpose
58+
# from Mix.CLI because the CLI itself already loads
59+
# dependencies.
6560
unless "--no-deps" in args do
6661
Mix.Task.run "deps.loadpaths", args
6762
end

0 commit comments

Comments
 (0)