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 0c4e206d03
commit 3340cbbe68
9 changed files with 129 additions and 12 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)
;&
fsharp)
;&
csharp)
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