From b4c3cb546efb0f4bfba9d4b552877afcfebcf8a1 Mon Sep 17 00:00:00 2001 From: Mohamed Hernouf Date: Wed, 20 Sep 2023 11:21:40 +0200 Subject: [PATCH] Update doc --- README.md | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 854b81b..9601c06 100644 --- a/README.md +++ b/README.md @@ -171,6 +171,8 @@ Configuration first being the destination basename (the name of the file in the installation directory), and the second being the path to the directory itself. For example: ["file.txt" "path/to/file"]. + Relative paths are resolved by searching files in current + directory. envvar A list of environment variables to set/unset in the Windows @@ -189,20 +191,19 @@ Configuration ``` opamwix-version : "0.1" -embbed-file : [ - "%{bin}%/dune" - "%{lib}%/opam-core/opamACL.ml" - "dune-project" +embbed : [ + [ "dune" "%{bin}%/dune"] + [ "opamACL.ml" "%{lib}%/opam-core/opamACL.ml"] + [ "dune-project" "./dune-project"] + [ "share" "%{share}%/dune"] + [ "data" "./data"] ] -embbed-dir: [ - ["share" "%{share}%/dune"] - ["data" "./data"] -] -envvar: [ - ["VAR1" "toto"] - ["VAR2" "titi"] - ["VAR2" "tata"] +envvar : [ + [ "FOO_VAR" "foo"] + [ "OPAM_ACL_PATH" "%{opamACL.ml}%"] + [ "FOO_SHARE" "%{share}%"] ] + ```