mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-25 22:46:27 +02:00
pkg(dotnet-5.0.201): Added F#.net, F# interactive and VB.net
This commit is contained in:
parent
0c4e206d03
commit
3340cbbe68
9 changed files with 129 additions and 12 deletions
22
packages/dotnet/5.0.201/run
vendored
22
packages/dotnet/5.0.201/run
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue