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
|
||||
ghc -e "$1" || true
|
||||
else
|
||||
mkdir "$CODEDIR" && cd "$CODEDIR"
|
||||
|
||||
printf %s "$1" > program.hs
|
||||
ghc -e main program.hs || true
|
||||
|
||||
cd .. && rm -rf "$CODEDIR"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue