lib/Tools/go
author haftmann
Thu, 09 Jan 2025 08:33:11 +0100
changeset 81754 e7a77c795cf9
parent 80013 f1686f71dffc
permissions -rwxr-xr-x
direct symbolic implementations of and, or, xor on integer

#!/usr/bin/env bash
#
# Author: Makarius
#
# DESCRIPTION: invoke go within the Isabelle environment

if [ -z "$ISABELLE_GOEXE" ]; then
  echo "Missing Go installation: need to run \"isabelle go_setup\" first" >&2
  exit 2
else
  export GOROOT="$(platform_path "$ISABELLE_GOROOT")"
  exec "$ISABELLE_GOEXE/go" "$@"
fi