aboutsummaryrefslogtreecommitdiff
path: root/lib/dune
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/dune16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/dune b/lib/dune
new file mode 100644
index 0000000..2f9cfb7
--- /dev/null
+++ b/lib/dune
@@ -0,0 +1,16 @@
+(library
+ (name ocamllb)
+ (public_name ocamllb)
+ (libraries atdgen))
+
+(rule
+ (targets listenbrainz_j.ml
+ listenbrainz_j.mli)
+ (deps listenbrainz.atd)
+ (action (run atdgen -j -j-std %{deps})))
+
+(rule
+ (targets listenbrainz_t.ml
+ listenbrainz_t.mli)
+ (deps listenbrainz.atd)
+ (action (run atdgen -t %{deps})))