lib/Tools/dotnet
author haftmann
Fri, 24 Mar 2023 18:30:17 +0000
changeset 77704 4c5297aa18c8
parent 76459 2829aae7408a
child 80010 6964a23f595a
permissions -rwxr-xr-x
more uniform approach towards satisfied applications
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
76459
2829aae7408a tuned message;
wenzelm
parents: 76458
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