From 8ed1b32ed21b5e9e0e32b3c4fe74ed7f72fa079b Mon Sep 17 00:00:00 2001 From: Rudi Grinberg Date: Mon, 2 Jul 2018 18:37:13 +0700 Subject: [PATCH] Update table of renamed vars in docs Signed-off-by: Rudi Grinberg --- doc/migration.rst | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/doc/migration.rst b/doc/migration.rst index 18a93860..4553a4d0 100644 --- a/doc/migration.rst +++ b/doc/migration.rst @@ -137,7 +137,7 @@ Variable Syntax ``${foo} and $(foo)`` are no longer valid variable syntax in dune files. 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 ---------------------------------------- @@ -161,12 +161,17 @@ supported in dune files. 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 -======== =========== -``${@}`` ``%{targets}`` -``${^}`` ``%{deps}`` -``${<}`` ``%{deps[0]}`` -======== =========== +======================== ============ +Jbuild Dune +======================== ============ +``${@}`` ``%{targets}`` +``${^}`` ``%{deps}`` +``${<}`` ``%{deps[0]}`` +``${path:file}`` ``%{dep:file}`` +``${path-no-dep:file}`` ``%{path:file}`` +``${SCOPE_ROOT}`` ``%{project_root}`` +``${findlib:..}`` ``%{lib:..}`` +======================== ============