diff --git a/lxc/executors/dash b/lxc/executors/dash new file mode 100644 index 0000000..cf20c38 --- /dev/null +++ b/lxc/executors/dash @@ -0,0 +1,4 @@ +#!/bin/bash + +cd /tmp/$2 +xargs -a args.args -d '\n' timeout -s KILL 3 dash code.code < stdin.stdin diff --git a/lxc/test_all_lxc b/lxc/test_all_lxc index 320dc8d..d8c6481 100755 --- a/lxc/test_all_lxc +++ b/lxc/test_all_lxc @@ -15,6 +15,8 @@ echo -n 'testing csharp = ' ../../cli/execute csharp csharp.cs echo -n 'testing d = ' ../../cli/execute d test.d +echo -n 'testing dash = ' +../../cli/execute dash dash.sh echo -n 'testing deno = ' ../../cli/execute deno deno.ts echo -n 'testing elixir = ' diff --git a/lxc/tests/dash.sh b/lxc/tests/dash.sh new file mode 100644 index 0000000..f2f0102 --- /dev/null +++ b/lxc/tests/dash.sh @@ -0,0 +1 @@ +echo 'good' diff --git a/lxc/versions b/lxc/versions index 01f674b..ede597e 100755 --- a/lxc/versions +++ b/lxc/versions @@ -37,6 +37,10 @@ echo 'd' lxc-attach --clear-env -n piston -- /bin/bash -l -c "dmd --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 '---' diff --git a/shared/languages.json b/shared/languages.json index 1f75816..ffb4307 100644 --- a/shared/languages.json +++ b/shared/languages.json @@ -87,6 +87,12 @@ "denots" ] }, + { + "name": "dash", + "aliases": [ + "dash" + ] + }, { "name": "ruby", "aliases": [