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,7 +1,3 @@
|
|||
mkdir "$CODEDIR" && cd "$CODEDIR"
|
||||
|
||||
export GOCACHE=/tmp/"$CODEDIR"/cache
|
||||
printf %s "$1" > program.go
|
||||
go run program.go || true
|
||||
|
||||
cd .. && rm -rf "$CODEDIR"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue