aboutsummaryrefslogtreecommitdiff
path: root/discocaml/dune
diff options
context:
space:
mode:
authorNathan Ringo <nathan@remexre.com>2024-01-18 12:40:28 -0600
committerNathan Ringo <nathan@remexre.com>2024-01-18 12:40:28 -0600
commitc3efede502f0f9ba3b03195ac8f30fff0376c8ab (patch)
treea5897c077b3300eae1c1db3d2bca1b13f9e5e25d /discocaml/dune
parent00d0bfced902e97eeae5257c14134d4bc7efc710 (diff)
Libify ocaml, add buttons to interaction.
Diffstat (limited to 'discocaml/dune')
-rw-r--r--discocaml/dune14
1 files changed, 11 insertions, 3 deletions
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))