diff --git a/src/reason-parser/dune b/src/reason-parser/dune index 00ea2b3d7..b1a40fb17 100644 --- a/src/reason-parser/dune +++ b/src/reason-parser/dune @@ -1,8 +1,6 @@ (ocamllex (modules reason_declarative_lexer)) -; Use select.exe from janestreet/ppx_ast to choose ocaml_util.ml based on ocaml version - (rule (targets ocaml_util.ml) (deps ocaml_util.cppo.ml) diff --git a/src/refmt/dune b/src/refmt/dune index c611087ac..65df6ebf9 100644 --- a/src/refmt/dune +++ b/src/refmt/dune @@ -5,13 +5,11 @@ (libraries reason reason.cmdliner dune-build-info)) (rule - (targets git_commit.ml) - (action - (with-stdout-to - %{targets} - (progn - (bash "echo let version = \\\"$(git rev-parse --verify HEAD)\\\"") - (bash "echo let short_version = \\\"$(git rev-parse --short HEAD)\\\""))))) + (with-stdout-to + git_commit.ml + (progn + (bash "echo let version = \\\"$(git rev-parse --verify HEAD)\\\"") + (bash "echo let short_version = \\\"$(git rev-parse --short HEAD)\\\"")))) (rule (with-stdout-to