Added julia support.

This commit is contained in:
Tommy-Xavier Robillard 2020-05-02 00:00:46 -04:00
parent d42aa6edb1
commit fab8873d85
3 changed files with 6 additions and 0 deletions

View File

@ -72,6 +72,7 @@ func Execute(res http.ResponseWriter, req *http.Request) {
"csharp", "cs", "c#",
"go",
"java",
"julia", "jl",
"nasm", "asm",
"node", "javascript", "js",
"php",

View File

@ -63,6 +63,9 @@ case "$lang" in
"java")
bin=java
;;
"julia" | "jl")
bin=julia
;;
"nasm" | "asm")
bin=nasm
;;

2
lxc/executors/julia Executable file
View File

@ -0,0 +1,2 @@
cd /tmp/$2
runuser runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 julia code.code"