File: dune

package info (click to toggle)
ocaml-atd 3.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,800 kB
  • sloc: ml: 45,316; python: 835; sh: 339; makefile: 304; cpp: 195; java: 76
file content (18 lines) | stat: -rw-r--r-- 294 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
(executable
 (name hello)
 (libraries atdgen-runtime yojson))

(rule
 (targets hello_t.ml hello_t.mli)
 (deps hello.atd)
 (action
  (run %{bin:atdgen} %{deps} -t)))

(rule
 (targets hello_j.ml hello_j.mli)
 (deps hello.atd)
 (action
  (run %{bin:atdgen} %{deps} -j)))

(cram
 (deps hello.exe))