lib/Tools/ocaml_setup
author wenzelm
Sun, 10 Mar 2019 15:31:24 +0100
changeset 69890 cb643a1a5313
parent 69500 db001bc11855
child 69911 036037573080
permissions -rwxr-xr-x
PIDE markup for spell-checking;

#!/usr/bin/env bash
#
# Author: Makarius
#
# DESCRIPTION: setup OCaml via OPAM

if [ -d "$ISABELLE_OPAM_ROOT" ]
then
  isabelle_opam switch "$ISABELLE_OCAML_VERSION"
else
  isabelle_opam init --no-setup --compiler="$ISABELLE_OCAML_VERSION"
fi