File: dune

package info (click to toggle)
js-of-ocaml 6.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 37,932 kB
  • sloc: ml: 135,957; javascript: 58,364; ansic: 437; makefile: 422; sh: 12; perl: 4
file content (34 lines) | stat: -rw-r--r-- 730 bytes parent folder | download | duplicates (2)
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
(env
 (_
  (flags
   (:standard
    (-warn-error -a)
    (-w -26-27-32..39-60-66-67-69) ;; unused something
    (-w -50) ;; doc-comment
    (-w -7) ;; method-override
    (-w -9) ;; missing-record-field-pattern
    (-w -45) ;; open-shadow-label-constructor
    (-w -8-11-68-74) ;; partial/unused patterns
    -no-strict-formats
    -no-strict-sequence
    \
    -strict-formats
    -strict-sequence))))

(library
 (name ocaml_testing)
 (modules testing)
 (wrapped false))

(executable
 (name expect)
 (modules expect)
 (libraries toplevel_expect_test js_of_ocaml js_of_ocaml-toplevel)
 (flags
  (:standard -linkall))
 (js_of_ocaml
  (flags
   (:standard \ --Werror)
   --toplevel)
  (compilation_mode whole_program))
 (modes js))