File: dune

package info (click to toggle)
ocaml-cstruct 6.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 904 kB
  • sloc: ml: 3,578; ansic: 53; makefile: 28; javascript: 21
file content (27 lines) | stat: -rw-r--r-- 438 bytes parent folder | download | duplicates (3)
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
(executable
 (name pp)
 (modules pp)
 (preprocess
  (action
   (run %{bin:cppo} -V OCAML:%{ocaml_version} %{input-file})))
 (libraries ppx_cstruct ocaml-migrate-parsetree))

(executable
 (name gen_tests)
 (modules gen_tests))

(include dune.inc)

(rule
 (targets dune.inc.gen)
 (deps
  (source_tree .))
 (action
  (with-stdout-to
   %{targets}
   (run ./gen_tests.exe))))

(rule
 (alias runtest)
 (action
  (diff dune.inc dune.inc.gen)))