File: dune

package info (click to toggle)
js-of-ocaml 6.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 37,932 kB
  • sloc: ml: 135,957; javascript: 58,364; ansic: 437; makefile: 422; sh: 12; perl: 4
file content (32 lines) | stat: -rw-r--r-- 472 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
(include dune.inc)

(rule
 (action
  (with-stdout-to
   dune.inc.gen
   (run ./gen_dune.exe))))

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

(executable
 (name main)
 (libraries js_of_ocaml num str)
 (link_flags
  (:standard -linkall))
 (modules main)
 (modes byte))

(executable
 (name unix)
 (libraries js_of_ocaml num str unix)
 (link_flags
  (:standard -linkall))
 (modules unix)
 (modes byte))

(executable
 (name gen_dune)
 (modules gen_dune))