File: build.sh

package info (click to toggle)
ocaml-odoc 3.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,008 kB
  • sloc: ml: 60,567; javascript: 2,572; sh: 566; makefile: 31
file content (19 lines) | stat: -rwxr-xr-x 433 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
#!/usr/bin/env sh

OCAMLC=ocamlc
ODOC=odoc

$OCAMLC -w -49 -no-alias-deps -c odoc_bug__.ml -bin-annot

for f in a_intf b_intf; do
  $OCAMLC -c $f.ml -bin-annot -g -no-alias-deps -open Odoc_bug__ -o odoc_bug__$f
done

for f in b c; do
  $OCAMLC -c -intf $f.mli -bin-annot -no-alias-deps -open Odoc_bug__ -o odoc_bug__$f
done

for f in .cmt a_intf.cmt b_intf.cmt b.cmti c.cmti; do
  odoc compile odoc_bug__$f -I . --pkg odoc_bug
done