From c3efede502f0f9ba3b03195ac8f30fff0376c8ab Mon Sep 17 00:00:00 2001 From: Nathan Ringo Date: Thu, 18 Jan 2024 12:40:28 -0600 Subject: Libify ocaml, add buttons to interaction. --- discocaml/dune | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'discocaml/dune') diff --git a/discocaml/dune b/discocaml/dune index 695d78f..961fe70 100644 --- a/discocaml/dune +++ b/discocaml/dune @@ -1,9 +1,17 @@ +(library + (name discocaml) + (inline_tests) + (libraries compiler-libs.common yojson) + (modules discocaml) + (package discocaml) + (preprocess + (pps ppx_deriving.show ppx_deriving_yojson ppx_expect))) + (executable (flags (:standard -cclib -static -cclib -lm)) - (libraries compiler-libs.common yojson) + (libraries discocaml yojson) + (modules main) (name main) (package discocaml) - (preprocess - (staged_pps ppx_import ppx_deriving.show ppx_deriving_yojson)) (public_name discocaml)) -- cgit v1.2.3