Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/mix/lib/mix/tasks/compile.elixir.ex
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ defmodule Mix.Tasks.Compile.Elixir do
* `--no-verification` - disables code verification, such as unused functions,
deprecation warnings, and type checking. It must be used solely for debugging
alongside `MIX_DEBUG=1`
* `--no-check-cwd` - Elixir stores absolute paths in .beam files, which means rellocating
the project root triggers a full build. Pass this option if you don't want the current
working directory to be checked
* `--no-check-cwd` - (since v1.19.2) Elixir stores absolute paths in .beam files, which means
that relocating the project root triggers a full build. Pass this option if you don't want
the current working directory to be checked
* `--purge-consolidation-path-if-stale PATH` - deletes and purges modules in the
given protocol consolidation path if compilation is required
* `--profile` - if set to `time`, outputs timing information of compilation steps
Expand Down
2 changes: 1 addition & 1 deletion lib/mix/test/mix/tasks/compile.elixir_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ defmodule Mix.Tasks.Compile.ElixirTest do
end)
end

test "does not recompiles project if cwd changes and --no-check-pwd is given" do
test "does not recompiles project if cwd changes and --no-check-cwd is given" do
in_fixture("no_mixfile", fn ->
Mix.Project.push(MixTest.Case.Sample)
assert Mix.Tasks.Compile.Elixir.run(["--verbose"]) == {:ok, []}
Expand Down