aboutsummaryrefslogtreecommitdiff
path: root/lib/dune
blob: 8ab384dd8b020b7b67c63a2c5932a6d5af8cd8b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
(library
 (name ocamllb)
 (public_name ocamllb)
 (libraries atdgen base cohttp-lwt-unix core lwt str uri)
 (preprocess (pps lwt_ppx)))

(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})))