lib/scripts/ghc
author wenzelm
Thu, 03 Jan 2019 16:42:15 +0100
changeset 69580 6f755e3cd95d
parent 69268 c1a27fce2076
child 69929 b979e3044d8e
permissions -rwxr-xr-x
mixfix annotations may use cartouches;

#!/usr/bin/env bash
#
# Author: Makarius
#
# Invoke ghc via "stack".

if [ -d "$ISABELLE_STACK_ROOT" ]; then
  isabelle_stack ghc -- "$@"
else
  echo "Cannot execute ghc: missing Isabelle GHC setup" >&2
  exit 127
fi