-
Notifications
You must be signed in to change notification settings - Fork 16
/
.jenkins.sh
51 lines (45 loc) · 1.41 KB
/
.jenkins.sh
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
opam update
opam pin add --no-action js_of_ocaml.dev .
opam pin add --no-action js_of_ocaml-compiler.dev .
opam pin add --no-action js_of_ocaml-ocamlbuild.dev .
opam pin add --no-action js_of_ocaml-ppx.dev .
opam pin add --no-action js_of_ocaml-lwt.dev .
opam pin add --no-action js_of_ocaml-tyxml.dev .
opam pin add --no-action js_of_ocaml-toplevel.dev .
opam install lwt reactiveData tyxml || true
opam install ppx_tools ppx_deriving || true
opam install --deps-only \
js_of_ocaml \
js_of_ocaml-lwt \
js_of_ocaml-compiler \
js_of_ocaml-ocamlbuild \
js_of_ocaml-toplevel \
js_of_ocaml-ppx \
js_of_ocaml-tyxml
opam install --verbose js_of_ocaml-compiler
opam install --verbose js_of_ocaml-ocamlbuild
opam install --verbose js_of_ocaml
opam install --verbose js_of_ocaml-ppx
opam install --verbose js_of_ocaml-lwt
opam install --verbose js_of_ocaml-tyxml
opam install --verbose js_of_ocaml-toplevel
do_build_doc () {
opam install ocp-indent higlo base64
make clean
make all
make -C doc doc
make -C doc wikidoc
cp -Rf doc/manual/files/* ${MANUAL_FILES_DIR}/
cp -Rf doc/manual/src/* ${MANUAL_SRC_DIR}/
cp -Rf doc/api/wiki/*.wiki ${API_DIR}/
}
do_remove () {
opam remove --verbose \
js_of_ocaml \
js_of_ocaml-compiler \
js_of_ocaml-ocamlbuild \
js_of_ocaml-ppx \
js_of_ocaml-toplevel \
js_of_ocaml-lwt \
js_of_ocaml-tyxml
}