fix deno and haskell and jelly

This commit is contained in:
Brian Seymour 2020-10-17 14:14:19 -05:00
parent a7fdbca30b
commit ca52e04bbd
3 changed files with 5 additions and 4 deletions

View File

@ -1,7 +1,7 @@
cd /tmp/$2
if [[ -z $(grep '[^[:space:]]' args.args) ]]; then
runuser runner$1 -c "cd /tmp/$2 ; timeout -s KILL 3 deno code.code"
runuser runner$1 -c "cd /tmp/$2 ; timeout -s KILL 3 deno run code.code"
else
runuser runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 deno code.code"
fi
runuser runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 deno run code.code"
fi

View File

@ -1,3 +1,4 @@
cd /tmp/$2
mv code.code code.hs
timeout -s KILL 10 ghc -dynamic -o binary code.code
runuser runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 ./binary"

View File

@ -164,7 +164,7 @@ cd /opt && mkdir jelly && cd jelly
wget https://github.com/DennisMitchell/jellylanguage/archive/master.zip
unzip master.zip
cd jellylanguage-master
pip3.8 install --upgrade --user .
pip3.8 install .
# install julia
# final binary: /opt/julia/julia-1.5.0/bin/julia