This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
20
unikernel/duniverse/dune_/doc/reference/dune/ocamllex.rst
Normal file
20
unikernel/duniverse/dune_/doc/reference/dune/ocamllex.rst
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
ocamllex
|
||||
--------
|
||||
|
||||
``(ocamllex <names>)`` is essentially a shorthand for:
|
||||
|
||||
.. code:: dune
|
||||
|
||||
(rule
|
||||
(target <name>.ml)
|
||||
(deps <name>.mll)
|
||||
(action (chdir %{workspace_root}
|
||||
(run %{bin:ocamllex} -q -o %{target} %{deps}))))
|
||||
|
||||
To use a different rule mode, use the long form:
|
||||
|
||||
.. code:: dune
|
||||
|
||||
(ocamllex
|
||||
(modules <names>)
|
||||
(mode <mode>))
|
||||
Loading…
Add table
Add a link
Reference in a new issue