pkg(dotnet-5.0.201): Added F#.net, F# interactive and VB.net

This commit is contained in:
Brikaa 2021-09-14 13:59:19 +02:00
parent a5c3858100
commit adae6fde2f
10 changed files with 135 additions and 15 deletions

View file

@ -3,5 +3,23 @@
# Put instructions to run the runtime
export DOTNET_CLI_HOME=$PWD
shift
dotnet bin/Debug/net5.0/$(basename $(realpath .)).dll "$@"
case "${PISTON_LANGUAGE}" in
basic.net)
;&
fsharp.net)
;&
csharp.net)
shift
dotnet bin/Debug/net5.0/$(basename $(realpath .)).dll "$@"
;;
fsi)
FILENAME=$1
rename 's/$/\.fsx/' $FILENAME # Add .fsx extension
shift
dotnet $FSI_PATH $FILENAME.fsx "$@"
;;
*)
echo "How did you get here? (${PISTON_LANGUAGE})"
exit 1
;;
esac