Skip to content

Commit a27acc4

Browse files
Lucas Pluvinageaalekseyev
authored andcommitted
Backport PR#100: Make executable dependencies implicit
Signed-off-by: Lucas Pluvinage <[email protected]>
1 parent 83a70d1 commit a27acc4

File tree

2 files changed

+5
-5
lines changed
  • compiler-stdlib/src
  • shadow-stdlib/src

2 files changed

+5
-5
lines changed

compiler-stdlib/src/dune

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
(library (name caml) (public_name base.caml) (preprocess no_preprocessing))
22

3-
(rule (targets caml.ml) (deps (:first_dep ../gen/gen.exe))
4-
(action (run %{first_dep} -ocaml-where %{ocaml_where} -o %{targets})))
3+
(rule (targets caml.ml)
4+
(action (run ../gen/gen.exe -ocaml-where %{ocaml_where} -o %{targets})))

shadow-stdlib/src/dune

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
(libraries caml) (preprocess no_preprocessing))
33

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

0 commit comments

Comments
 (0)