From b7e8dcb5ffc8d2bd4889dd9882225fefeaf66da4 Mon Sep 17 00:00:00 2001 From: Simon Cruanes Date: Sat, 13 Oct 2018 19:01:23 -0500 Subject: [PATCH] chore: better deps for unlabel --- src/core/dune | 20 ++++++++++---------- src/dune | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/core/dune b/src/core/dune index fdc7f038..fcd0cc4f 100644 --- a/src/core/dune +++ b/src/core/dune @@ -1,32 +1,32 @@ (rule (targets CCArray.mli) - (deps CCArrayLabels.mli) + (deps (:mli CCArrayLabels.mli) ../unlabel.exe) (mode promote) - (action (run ../unlabel.exe %{deps} %{targets}))) + (action (run ../unlabel.exe %{mli} %{targets}))) (rule (targets CCArray_slice.mli) - (deps CCArray_sliceLabels.mli) + (deps (:mli CCArray_sliceLabels.mli) ../unlabel.exe) (mode promote) - (action (run ../unlabel.exe %{deps} %{targets}))) + (action (run ../unlabel.exe %{mli} %{targets}))) (rule (targets CCEqual.mli) - (deps CCEqualLabels.mli) + (deps (:mli CCEqualLabels.mli) ../unlabel.exe) (mode promote) - (action (run ../unlabel.exe %{deps} %{targets}))) + (action (run ../unlabel.exe %{mli} %{targets}))) (rule (targets CCList.mli) - (deps CCListLabels.mli) + (deps (:mli CCListLabels.mli) ../unlabel.exe) (mode promote) - (action (run ../unlabel.exe %{deps} %{targets}))) + (action (run ../unlabel.exe %{mli} %{targets}))) (rule (targets CCString.mli) - (deps CCStringLabels.mli) + (deps (:mli CCStringLabels.mli) ../unlabel.exe) (mode promote) - (action (run ../unlabel.exe %{deps} %{targets}))) + (action (run ../unlabel.exe %{mli} %{targets}))) (library (name containers) diff --git a/src/dune b/src/dune index 853054a2..6863ff71 100644 --- a/src/dune +++ b/src/dune @@ -6,7 +6,7 @@ (executable (name unlabel) (modules unlabel) - (libraries str compiler-libs.common)) + (libraries compiler-libs.common)) (rule (targets flambda.flags)