forked from LexiFi/gen_js_api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dune-project
43 lines (36 loc) · 1.1 KB
/
dune-project
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
(lang dune 2.7)
(name gen_js_api)
(version 1.1.2)
(maintainers "Alain Frisch <[email protected]>")
(authors
"Alain Frisch <[email protected]>"
"Sebastien Briais <[email protected]>")
(source (github LexiFi/gen_js_api))
(generate_opam_files true)
(license MIT)
(package
(name ojs)
(synopsis "Runtime Library for gen_js_api generated libraries")
(description "To be used in conjunction with gen_js_api")
(depends
(ocaml (>= 4.08))
(js_of_ocaml-compiler (>= 4.0.0)))
)
(package
(name gen_js_api)
(synopsis "Easy OCaml bindings for JavaScript libraries")
(description "
gen_js_api aims at simplifying the creation of OCaml bindings for
JavaScript libraries. Authors of bindings write OCaml signatures for
JavaScript libraries and the tool generates the actual binding code
with a combination of implicit conventions and explicit annotations.
gen_js_api is to be used with the js_of_ocaml compiler.
")
(conflicts (js_of_ocaml-compiler (< 4.0.0)))
(depends
(ocaml (>= 4.08))
(ppxlib (>= 0.26))
(js_of_ocaml-compiler :with-test)
(conf-npm :with-test)
(ojs (= :version)))
)