mirror of
https://github.com/engineer-man/piston.git
synced 2025-06-09 03:26:27 +02:00
Updated to Dotnet 7.0.202
This commit is contained in:
parent
86d897d580
commit
b5cfd91cec
9 changed files with 175 additions and 0 deletions
25
packages/dotnet/7.0.202/run
vendored
Normal file
25
packages/dotnet/7.0.202/run
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Put instructions to run the runtime
|
||||
export DOTNET_CLI_HOME=$PWD
|
||||
|
||||
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
|
Loading…
Add table
Add a link
Reference in a new issue