lib/Tools/dotnet
author wenzelm
Sun, 25 Aug 2024 22:54:56 +0200
changeset 80771 fd01ef524169
parent 80010 6964a23f595a
permissions -rwxr-xr-x
use nicer notation, following 783406dd051e;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
76458
cc6fd1695294 support for Dotnet / Fsharp platform, via dynamically installed Isabelle component;
wenzelm
parents:
diff changeset
     1
#!/usr/bin/env bash
cc6fd1695294 support for Dotnet / Fsharp platform, via dynamically installed Isabelle component;
wenzelm
parents:
diff changeset
     2
#
cc6fd1695294 support for Dotnet / Fsharp platform, via dynamically installed Isabelle component;
wenzelm
parents:
diff changeset
     3
# Author: Makarius
cc6fd1695294 support for Dotnet / Fsharp platform, via dynamically installed Isabelle component;
wenzelm
parents:
diff changeset
     4
#
cc6fd1695294 support for Dotnet / Fsharp platform, via dynamically installed Isabelle component;
wenzelm
parents:
diff changeset
     5
# DESCRIPTION: invoke the dotnet CLI driver within the Isabelle environment
cc6fd1695294 support for Dotnet / Fsharp platform, via dynamically installed Isabelle component;
wenzelm
parents:
diff changeset
     6
cc6fd1695294 support for Dotnet / Fsharp platform, via dynamically installed Isabelle component;
wenzelm
parents:
diff changeset
     7
if [ -z "$ISABELLE_DOTNET" ]; then
80010
6964a23f595a tuned comments;
wenzelm
parents: 76459
diff changeset
     8
  echo "Missing Dotnet installation: need to run \"isabelle dotnet_setup\" first" >&2
76458
cc6fd1695294 support for Dotnet / Fsharp platform, via dynamically installed Isabelle component;
wenzelm
parents:
diff changeset
     9
  exit 2
cc6fd1695294 support for Dotnet / Fsharp platform, via dynamically installed Isabelle component;
wenzelm
parents:
diff changeset
    10
else
cc6fd1695294 support for Dotnet / Fsharp platform, via dynamically installed Isabelle component;
wenzelm
parents:
diff changeset
    11
  exec "$ISABELLE_DOTNET" "$@"
cc6fd1695294 support for Dotnet / Fsharp platform, via dynamically installed Isabelle component;
wenzelm
parents:
diff changeset
    12
fi