This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
14
unikernel/duniverse/dune_/doc/reference/dune/subdir.rst
Normal file
14
unikernel/duniverse/dune_/doc/reference/dune/subdir.rst
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
subdir
|
||||
------
|
||||
|
||||
The ``subdir`` stanza can be used to evaluate stanzas in subdirectories. This is
|
||||
useful for generated files or to override stanzas in vendored directories
|
||||
without editing vendored ``dune`` files.
|
||||
|
||||
In this example, a ``bar`` target is created in the ``foo`` directory, and a bar
|
||||
target will be created in ``a/b/bar``:
|
||||
|
||||
.. code:: dune
|
||||
|
||||
(subdir foo (rule (with-stdout-to bar (echo baz))))
|
||||
(subdir a/b (rule (with-stdout-to bar (echo baz))))
|
||||
Loading…
Add table
Add a link
Reference in a new issue