Skip to content

Commit bc936f7

Browse files
committed
Add note about after_compiler, see #12159
1 parent ee602cd commit bc936f7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/mix/lib/mix/task.compiler.ex

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@ defmodule Mix.Task.Compiler do
106106
it receives a tuple with current status and the list
107107
of diagnostic. It must return the updated status and
108108
diagnostics.
109+
110+
If the given compiler does not run (for instance,
111+
because an earlier compiler in the stack has aborted),
112+
the callback will not be executed.
109113
"""
110114
@doc since: "1.10.0"
111115
@spec after_compiler(atom, ({status, [Diagnostic.t()]} -> {status, [Diagnostic.t()]})) :: :ok

0 commit comments

Comments
 (0)