mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-21 12:36:28 +02:00
Add julia executor and enable elixir in api
This commit is contained in:
parent
b7c8329ea1
commit
6076f88bb9
3 changed files with 6 additions and 0 deletions
|
@ -57,6 +57,9 @@ case "$lang" in
|
|||
"csharp" | "cs" | "c#")
|
||||
bin=csharp
|
||||
;;
|
||||
"elixir" | "exs")
|
||||
bin=elixir
|
||||
;;
|
||||
"go")
|
||||
bin=go
|
||||
;;
|
||||
|
|
2
lxc/executors/elixir
Normal file
2
lxc/executors/elixir
Normal 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 elixir code.code"
|
Loading…
Add table
Add a link
Reference in a new issue