mirror of
https://github.com/engineer-man/piston.git
synced 2025-06-08 03:06:26 +02:00
merge
This commit is contained in:
commit
30556fb45d
7 changed files with 36 additions and 2 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"
|
|
@ -27,6 +27,9 @@ echo '---'
|
|||
echo 'kotlin'
|
||||
lxc-attach --clear-env -n piston -- /bin/bash -l -c "kotlinc -version"
|
||||
echo '---'
|
||||
echo "elixir"
|
||||
lxc-attach --clear-env -n piston -- /bin/bash -l -c "elixir --version"
|
||||
echo "---"
|
||||
echo 'nasm'
|
||||
lxc-attach --clear-env -n piston -- /bin/bash -l -c "nasm -version"
|
||||
echo '---'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue