File: dune

package info (click to toggle)
js-of-ocaml 5.9.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 32,020 kB
  • sloc: ml: 91,250; javascript: 57,289; ansic: 315; makefile: 271; lisp: 23; sh: 6; perl: 4
file content (41 lines) | stat: -rw-r--r-- 965 bytes parent folder | download
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
(executables
 (names main)
 (libraries
  ppxlib
  toplevel_expect_test
  js_of_ocaml.deriving
  js_of_ocaml-ppx_deriving_json)
 (modes byte)
 (link_flags (-linkall)))

(rule
 (targets ppx.mlt.corrected)
 (deps
  ../../../lib/deriving_json/.js_of_ocaml_deriving.objs/byte/deriving_Json.cmi
  ../../../lib/deriving_json/.js_of_ocaml_deriving.objs/byte/deriving_Json_lexer.cmi)
 (action
  (run %{exe:main.bc} %{dep:ppx.mlt})))

(rule
 (targets gen.mlt.corrected)
 (deps
  ../../../lib/deriving_json/.js_of_ocaml_deriving.objs/byte/deriving_Json.cmi
  ../../../lib/deriving_json/.js_of_ocaml_deriving.objs/byte/deriving_Json_lexer.cmi)
 (action
  (run %{exe:main.bc} %{dep:gen.mlt})))

(rule
 (alias runtest)
 (enabled_if
  (>= %{ocaml_version} 5.1))
 ;; (package js_of_ocaml-ppx)
 (action
  (diff ppx.mlt ppx.mlt.corrected)))

(rule
 (alias runtest)
 (enabled_if
  (>= %{ocaml_version} 5.1))
 ;; (package js_of_ocaml-ppx)
 (action
  (diff gen.mlt gen.mlt.corrected)))