lib/Tools/ocaml_setup
author wenzelm
Sat, 22 Dec 2018 17:02:29 +0100
changeset 69500 db001bc11855
parent 69149 8c501c406d24
child 69911 036037573080
permissions -rwxr-xr-x
tuned messages;

#!/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