diff --git a/config/languages.json b/config/languages.json index 636fd84..2a18b45 100644 --- a/config/languages.json +++ b/config/languages.json @@ -240,5 +240,14 @@ "aliases": [ "zig" ] + }, + { + "name": "osabie", + "aliases": [ + "osabie", + "05AB1E", + "osable", + "usable" + ] } ] diff --git a/lxc/executors/osabie b/lxc/executors/osabie new file mode 100644 index 0000000..ff8ab84 --- /dev/null +++ b/lxc/executors/osabie @@ -0,0 +1,8 @@ +#!/bin/bash + +# osabie uses Elixir, which expects UTF-8 native encoding +export LC_ALL="en_US.UTF-8" + +# osabie will break if you try using it with xargs +cd /tmp/$2 +timeout -s KILL 3 osabie code.code < args.args diff --git a/lxc/tests/_run b/lxc/tests/_run index c495742..fcd9249 100755 --- a/lxc/tests/_run +++ b/lxc/tests/_run @@ -64,3 +64,5 @@ echo -n 'testing typescript = ' ../../cli/execute typescript typescript.ts echo -n 'testing zig = ' ../../cli/execute zig zig.zig +echo -n 'testing osabie = ' +../../cli/execute osabie osabie.abe diff --git a/lxc/tests/osabie.abe b/lxc/tests/osabie.abe new file mode 100644 index 0000000..0508ea0 --- /dev/null +++ b/lxc/tests/osabie.abe @@ -0,0 +1 @@ +"good \ No newline at end of file diff --git a/lxc/util/versions b/lxc/util/versions index 6353569..ee139c8 100755 --- a/lxc/util/versions +++ b/lxc/util/versions @@ -136,3 +136,7 @@ echo '---' echo 'zig' lxc-attach --clear-env -n piston -- /bin/bash -l -c "zig version" echo '---' + +echo 'osabie' +echo '1.0.1' +echo '---' diff --git a/readme.md b/readme.md index 6515189..68ed6f2 100644 --- a/readme.md +++ b/readme.md @@ -276,6 +276,7 @@ Content-Type: application/json `nasm64`, `nim`, `node`, +`osabie`, `paradoc`, `perl`, `php`, diff --git a/var/install.txt b/var/install.txt index d23e6d1..28adfa1 100644 --- a/var/install.txt +++ b/var/install.txt @@ -264,6 +264,18 @@ cd nim-1.4.0 echo 'export PATH=$PATH:/opt/nim/bin' >> /opt/.profile source /opt/.profile +# install 05AB1E +# final binary: /opt/05AB1E/05AB1E/osabie +# requires Elixir to install +cd /opt && mkdir 05AB1E && cd 05AB1E +git clone https://github.com/Adriandmen/05AB1E.git +cd 05AB1E +mix local.hex --force +mix deps.get --force +MIX_ENV=prod mix escript.build --force +echo 'export PATH=$PATH:/opt/05AB1E/05AB1E' >> /opt/.profile +source /opt/.profile + # create runnable users and apply limits for i in {1..150}; do useradd -M runner$i