aboutsummaryrefslogtreecommitdiff
path: root/lib/dune
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2021-10-26 23:02:08 -0400
committerRyan Kavanagh <rak@rak.ac>2021-10-26 23:03:41 -0400
commit2157ffb8298afe8a5d1d0bdf71d2ad256c90fceb (patch)
tree260d07c28803d55a82cad5b1f71773188358ac6c /lib/dune
parentInitial import (diff)
Initial json parsing and validation
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})))