lib/Tools/ocaml_setup
author wenzelm
Sat, 10 Nov 2018 19:01:20 +0100
changeset 69281 599b6d0d199b
parent 69149 8c501c406d24
child 69500 db001bc11855
permissions -rwxr-xr-x
tuned signature;

#!/usr/bin/env bash
#
# Author: Makarius
#
# DESCRIPTION: setup OCaml setup 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