2019-03-15 02:32:39 +01:00
|
|
|
if [ "$EVAL_EXPR" = "true" ]; then
|
|
|
|
csharp -e "$1"
|
|
|
|
else
|
2019-05-15 02:21:34 +02:00
|
|
|
mkdir "$COUNT" && cd "$COUNT"
|
|
|
|
|
2019-03-15 02:32:39 +01:00
|
|
|
echo "$1" > program.cs
|
|
|
|
csc program.cs >/dev/null && mono program.exe
|
2019-05-15 02:21:34 +02:00
|
|
|
|
|
|
|
cd .. && rm -rf "$COUNT"
|
2019-03-15 02:32:39 +01:00
|
|
|
fi
|