Skip to content

Commit

Permalink
Backport PR#100: Make executable dependencies implicit
Browse files Browse the repository at this point in the history
Signed-off-by: Lucas Pluvinage <[email protected]>
  • Loading branch information
TheLortex authored and aalekseyev committed Jan 25, 2022
1 parent 83a70d1 commit a27acc4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions compiler-stdlib/src/dune
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(library (name caml) (public_name base.caml) (preprocess no_preprocessing))

(rule (targets caml.ml) (deps (:first_dep ../gen/gen.exe))
(action (run %{first_dep} -ocaml-where %{ocaml_where} -o %{targets})))
(rule (targets caml.ml)
(action (run ../gen/gen.exe -ocaml-where %{ocaml_where} -o %{targets})))
6 changes: 3 additions & 3 deletions shadow-stdlib/src/dune
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
(libraries caml) (preprocess no_preprocessing))

(rule (targets shadow_stdlib.mli)
(deps (:first_dep ../gen/gen.exe) ../../compiler-stdlib/src/caml.cma)
(deps ../../compiler-stdlib/src/caml.cma)
(action
(run %{first_dep} -caml-cmi ../../compiler-stdlib/src/.caml.objs/caml.cmi
../../compiler-stdlib/src/.caml.objs/byte/caml.cmi -o %{targets})))
(run ../gen/gen.exe -caml-cmi ../../compiler-stdlib/src/.caml.objs/caml.cmi
../../compiler-stdlib/src/.caml.objs/byte/caml.cmi -o %{targets})))

0 comments on commit a27acc4

Please sign in to comment.