Merge pull request #942 from rgrinberg/update-migration
Update table of renamed vars in docs
This commit is contained in:
commit
51c9b207b1
|
@ -137,7 +137,7 @@ Variable Syntax
|
||||||
|
|
||||||
``${foo} and $(foo)`` are no longer valid variable syntax in dune files.
|
``${foo} and $(foo)`` are no longer valid variable syntax in dune files.
|
||||||
Variables are defined as ``%{foo}``. This change is done to simplify
|
Variables are defined as ``%{foo}``. This change is done to simplify
|
||||||
interoperability with bash commands which also use teh ``${foo}`` syntax.
|
interoperability with bash commands which also use the ``${foo}`` syntax.
|
||||||
|
|
||||||
``(files_recursively_in ..)`` is removed
|
``(files_recursively_in ..)`` is removed
|
||||||
----------------------------------------
|
----------------------------------------
|
||||||
|
@ -161,12 +161,17 @@ supported in dune files.
|
||||||
Renamed Variables
|
Renamed Variables
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
The following table consists of variables than have been renamed in dune:
|
All existing variables have been lowercased for consistency. Other variables
|
||||||
|
have always been renamed. Refer to this table for details:
|
||||||
|
|
||||||
======== ===========
|
======================== ============
|
||||||
Jbuild Dune
|
Jbuild Dune
|
||||||
======== ===========
|
======================== ============
|
||||||
``${@}`` ``%{targets}``
|
``${@}`` ``%{targets}``
|
||||||
``${^}`` ``%{deps}``
|
``${^}`` ``%{deps}``
|
||||||
``${<}`` ``%{deps[0]}``
|
``${<}`` ``%{deps[0]}``
|
||||||
======== ===========
|
``${path:file}`` ``%{dep:file}``
|
||||||
|
``${path-no-dep:file}`` ``%{path:file}``
|
||||||
|
``${SCOPE_ROOT}`` ``%{project_root}``
|
||||||
|
``${findlib:..}`` ``%{lib:..}``
|
||||||
|
======================== ============
|
||||||
|
|
Loading…
Reference in New Issue