1
#!/usr/bin/env bash
2
#
3
# Author: Makarius
4
5
# DESCRIPTION: setup OCaml setup via OPAM
6
7
if [ -d "$ISABELLE_OPAM_ROOT" ]
8
then
9
isabelle_opam switch "$ISABELLE_OCAML_VERSION"
10
else
11
isabelle_opam init --no-setup --compiler="$ISABELLE_OCAML_VERSION"
12
fi