forked from ocsigen/js_of_ocaml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.jenkins.sh
33 lines (28 loc) · 797 Bytes
/
.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
opam pin add --no-action js_of_ocaml .
case $(opam switch show) in
4.00*) ;;
4.01*) ;;
*) opam install tyxml || true
esac
opam install deriving || true
opam install async_kernel.113.33.00 || true
opam install ppx_driver || true
opam install reactiveData cppo base64
# case $(opam switch show) in
# 4.03*) opam pin add lwt https://github.com/Drup/lwt.git#4.03.0-no-oasis ;;
# *) ;;
# esac
opam install --deps-only js_of_ocaml
opam install --verbose js_of_ocaml
do_build_doc () {
opam install ocp-indent cppo higlo base64
make -C doc clean
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
}