Skip to content

Commit

Permalink
doc: js targets & the @all alias (#10495)
Browse files Browse the repository at this point in the history
Describe that the `all` alias doesn't include js targets by default and
what to do to get back the old behavior.

Signed-off-by: Rudi Grinberg <[email protected]>
  • Loading branch information
rgrinberg authored May 9, 2024
1 parent b43b563 commit 68d32e1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/reference/aliases.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ Some aliases are defined and managed by Dune itself.

This alias corresponds to every known file target in a directory.

Since version 2.0 of the dune language, JS targets of executables are no longer
included in the `all` alias by default. To get back the old behavior of
including the JS targets in `all`, one can add the ``js`` target to the
executable's ``modes`` field.

@check
^^^^^^

Expand Down

0 comments on commit 68d32e1

Please sign in to comment.