Skip to content

Commit 94c8024

Browse files
committed
doc: document empty alias
Signed-off-by: Ali Caglayan <[email protected]>
1 parent 66fb843 commit 94c8024

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

doc/changes/11956.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
- Added 'empty' alias which contains no targets. (#11556 #11952 #11955 #11956,
2+
grants #4161, @Alizter and @rgrinberg)

doc/reference/aliases.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ Some aliases are defined and managed by Dune itself:
7070
aliases/default
7171
aliases/install
7272
aliases/pkg-install
73+
aliases/empty
7374

7475
.. grid-item::
7576

doc/reference/aliases/empty.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
@empty
2+
======
3+
4+
The `empty` alias contains no targets.
5+
6+
As of Dune language version 3.20, user-defined :doc:`rule <../dune/rule>` and
7+
:doc:`alias <../dune/alias>` stanzas are no longer permitted to extend the
8+
`empty` alias.
9+

0 commit comments

Comments
 (0)