Conversation
| @@ -68,6 +68,9 @@ module Action_expander : sig | |||
| (* Evaluate a path in a position of dependency, such as in [(cat <dep>)] *) | |||
There was a problem hiding this comment.
This comment is kind of funny now.
| ~error_loc:(String_with_vars.loc sw) ~dir:t.dir | ||
|
|
||
| let expand_paths t sw = | ||
| let+ v, vs = expand t ~mode:At_least_one sw in |
There was a problem hiding this comment.
This seemed sensible to me.
cb18441 to
c702049
Compare
|
#8196 (c702049) changes the metrics as follows in comparison to Benchmark: defaultTest: dune monorepo benchmarks
|
| let fn = Expander.expand_path env sw in | ||
| register_dep fn ~f:Option.some env acc | ||
|
|
||
| let register_deps x ~f env acc = |
There was a problem hiding this comment.
Too much copy pasting between this and register_dep
There was a problem hiding this comment.
I've left only register_deps now.
290f022 to
200fa2d
Compare
|
#8196 (200fa2d) changes the metrics as follows in comparison to Benchmark: defaultTest: dune monorepo benchmarks
|
|
Do we want to version guard this? I could see it becoming an issue otherwise. |
4f2ae44 to
0ccf8cc
Compare
|
@rgrinberg I've managed to version guard it now. The test demonstrates this behaviour too. |
|
@emillon Could you also take a look, since you recently implemented the |
Signed-off-by: Ali Caglayan <alizter@gmail.com>
b587f3c to
bcefd80
Compare
Signed-off-by: Ali Caglayan <alizter@gmail.com>
bcefd80 to
eb5659b
Compare
CHANGES: - Add `dune show rules` as alias of the `dune rules` command. (ocaml/dune#8000, @Alizter) - Fix `%{deps}` to expand properly in `(cat ...)` when containing 2 or more items. (ocaml/dune#8196, @Alizter) - Add `dune show installed-libraries` as an alias of the `dune installed-libraries` command. (ocaml/dune#8135, @Alizter) - Fix the `severity` of error messages sent over RPC which was missing. (ocaml/dune#8193, @Alizter) - Add `dune build --dump-gc-stats FILE` argument to dump garbage collection stats to a named file. (ocaml/dune#8072, @Alizter) - Fix bug with ppx and Reason syntax due to missing dependency in sandboxed action (ocaml/dune#7932, fixes ocaml/dune#7930, @Alizter) - Add `dune describe package-entries` to print all package entries (ocaml/dune#7480, @moyodiallo) - Improve `dune describe external-lib-deps` by adding the internal dependencies for more information. (ocaml/dune#7478, @moyodiallo) - Re-enable background file digests on Windows. The files are now open in a way that prevents race condition around deletion. (ocaml/dune#8262, fixes ocaml/dune#8268, @emillon)
CHANGES: - Add `dune show rules` as alias of the `dune rules` command. (ocaml/dune#8000, @Alizter) - Fix `%{deps}` to expand properly in `(cat ...)` when containing 2 or more items. (ocaml/dune#8196, @Alizter) - Add `dune show installed-libraries` as an alias of the `dune installed-libraries` command. (ocaml/dune#8135, @Alizter) - Fix the `severity` of error messages sent over RPC which was missing. (ocaml/dune#8193, @Alizter) - Add `dune build --dump-gc-stats FILE` argument to dump garbage collection stats to a named file. (ocaml/dune#8072, @Alizter) - Fix bug with ppx and Reason syntax due to missing dependency in sandboxed action (ocaml/dune#7932, fixes ocaml/dune#7930, @Alizter) - Add `dune describe package-entries` to print all package entries (ocaml/dune#7480, @moyodiallo) - Improve `dune describe external-lib-deps` by adding the internal dependencies for more information. (ocaml/dune#7478, @moyodiallo) - Re-enable background file digests on Windows. The files are now open in a way that prevents race condition around deletion. (ocaml/dune#8262, fixes ocaml/dune#8268, @emillon)
CHANGES: - Add `dune show rules` as alias of the `dune rules` command. (ocaml/dune#8000, @Alizter) - Fix `%{deps}` to expand properly in `(cat ...)` when containing 2 or more items. (ocaml/dune#8196, @Alizter) - Add `dune show installed-libraries` as an alias of the `dune installed-libraries` command. (ocaml/dune#8135, @Alizter) - Fix the `severity` of error messages sent over RPC which was missing. (ocaml/dune#8193, @Alizter) - Add `dune build --dump-gc-stats FILE` argument to dump garbage collection stats to a named file. (ocaml/dune#8072, @Alizter) - Fix bug with ppx and Reason syntax due to missing dependency in sandboxed action (ocaml/dune#7932, fixes ocaml/dune#7930, @Alizter) - Add `dune describe package-entries` to print all package entries (ocaml/dune#7480, @moyodiallo) - Improve `dune describe external-lib-deps` by adding the internal dependencies for more information. (ocaml/dune#7478, @moyodiallo) - Re-enable background file digests on Windows. The files are now open in a way that prevents race condition around deletion. (ocaml/dune#8262, fixes ocaml/dune#8268, @emillon)
We fix a bug in which
%{deps}with more than one dep would not expand inside of acat.