Create new workspace for every eval
This commit is contained in:
parent
bc67dbbfd7
commit
700b66c183
23 changed files with 17 additions and 99 deletions
|
@ -1,10 +1,6 @@
|
|||
if [ "$EVAL_EXPR" = "true" ]; then
|
||||
printf %s "$1" | csharp -e
|
||||
else
|
||||
mkdir "$CODEDIR" && cd "$CODEDIR"
|
||||
|
||||
printf %s "$1" > program.cs
|
||||
csc program.cs >/dev/null && mono program.exe || true
|
||||
|
||||
cd .. && rm -rf "$CODEDIR"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue