lib/Tools/dotnet
author wenzelm
Wed, 31 Jan 2024 12:43:06 +0100
changeset 79556 0631dfc0db07
parent 76459 2829aae7408a
child 80010 6964a23f595a
permissions -rwxr-xr-x
more robust check of ISABELLE_PLATFORM_FAMILY within settings environment, to support its reunification with Isabelle/Scala (see also a33a6e541cbb, f3a356c64193);

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

if [ -z "$ISABELLE_DOTNET" ]; then
  echo "Missing dotnet installation: need to run \"isabelle dotnet_setup\" first" >&2
  exit 2
else
  exec "$ISABELLE_DOTNET" "$@"
fi