Skip to content

Commit baec576

Browse files
committed
Fix consolidate task example
1 parent 0c8c6f0 commit baec576

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ defmodule Mix.Tasks.Compile.Protocols do
1414
1515
A new directory will be created with the consolidated
1616
protocol versions in the build directory for the given
17-
environment. Simply add it to your codepath to make use
17+
environment. Simply add it to your loadpath to make use
1818
of it:
1919
20-
$ mix run -pa _build/dev/consolidated
20+
$ elixir -pa _build/dev/consolidated -S mix run
2121
2222
You can verify a protocol is consolidated by checking
2323
its attributes:
2424
25-
$ iex -S mix run -pa _build/dev/consolidated
25+
$ iex -pa _build/dev/consolidated -S mix run
2626
iex> Protocol.consolidated?(Enumerable)
2727
true
2828

0 commit comments

Comments
 (0)