https://github.com/EasyCrypt/easycrypt
Revision 423a921eabbb99ba2bc3595abbc9261a64ccd4e4 authored by Pierre-Yves Strub on 08 July 2014, 09:24:15 UTC, committed by Pierre-Yves Strub on 08 July 2014, 09:24:15 UTC
1 parent 9c7b05e
Raw File
Tip revision: 423a921eabbb99ba2bc3595abbc9261a64ccd4e4 authored by Pierre-Yves Strub on 08 July 2014, 09:24:15 UTC
Add support for local hypothesis.
Tip revision: 423a921
activate-toolchain.sh
#! /bin/bash

# --------------------------------------------------------------------
: ${OVERSION=4.01.0}
: ${DEST="$(dirname $0)/../_tools"}

# --------------------------------------------------------------------
target="${DEST}/ocaml-${OVERSION}/etc/ocamlbrew.bashrc"

if [ ! -e "$target" ]; then
  cat <<__EOF__ >&2
Install the EasyCrypt toolchain first ([make toolchain])
__EOF__
  exit 1
fi

# --------------------------------------------------------------------
echo ". ${target}"
back to top