This commit is contained in:
Vrganj 2021-01-23 22:09:00 +01:00
parent b64598763d
commit e9f85c4eee
5 changed files with 17 additions and 0 deletions

4
lxc/executors/dash Normal file
View File

@ -0,0 +1,4 @@
#!/bin/bash
cd /tmp/$2
xargs -a args.args -d '\n' timeout -s KILL 3 dash code.code < stdin.stdin

View File

@ -11,6 +11,8 @@ echo -n 'testing cpp = '
../../cli/execute cpp cpp.cpp
echo -n 'testing csharp = '
../../cli/execute csharp csharp.cs
echo -n 'testing dash = '
../../cli/execute dash dash.sh
echo -n 'testing deno = '
../../cli/execute deno deno.ts
echo -n 'testing elixir = '

1
lxc/tests/dash.sh Normal file
View File

@ -0,0 +1 @@
echo 'good'

View File

@ -29,6 +29,10 @@ echo "elixir"
lxc-attach --clear-env -n piston -- /bin/bash -l -c "elixir --version"
echo '---'
echo 'dash'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "dpkg -s dash"
echo '---'
echo 'deno'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "deno --version"
echo '---'

View File

@ -63,6 +63,12 @@
"denots"
]
},
{
"name": "dash",
"aliases": [
"dash"
]
},
{
"name": "ruby",
"aliases": [