Skip to content

Commit

Permalink
Add note about after_compiler, see #12159
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed Oct 10, 2022
1 parent b395381 commit cf29eff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/mix/lib/mix/task.compiler.ex
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ defmodule Mix.Task.Compiler do
it receives a tuple with current status and the list
of diagnostic. It must return the updated status and
diagnostics.
If the given compiler does not run (for instance,
because an earlier compiler in the stack has aborted),
the callback will not be executed.
"""
@doc since: "1.10.0"
@spec after_compiler(atom, ({status, [Diagnostic.t()]} -> {status, [Diagnostic.t()]})) :: :ok
Expand Down

0 comments on commit cf29eff

Please sign in to comment.