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
|
(rule
(targets t1.ml t1.mli t1_plain.ml t1_plain_ext.ml)
(deps
(source_tree t1))
(action
(setenv
SOURCE_DATE_EPOCH
0
(progn
(run %{bin:ocaml-crunch} --mode=lwt -o t1.ml t1)
(run %{bin:ocaml-crunch} --mode=plain -o t1_plain.ml t1)
(run %{bin:ocaml-crunch} --mode=plain -e ext -o t1_plain_ext.ml t1)))))
(rule
(alias runtest)
(action
(diff t1.expected.ml t1.ml)))
(rule
(alias runtest)
(action
(diff t1.expected.mli t1.mli)))
(rule
(alias runtest)
(action
(diff t1_plain.expected.ml t1_plain.ml)))
(rule
(alias runtest)
(action
(diff t1_plain_ext.expected.ml t1_plain_ext.ml)))
(test
(name consumer)
(libraries lwt.unix mirage-kv lwt mirage-kv-mem)
(modules t1 consumer))
|