commit
7998e9196e
|
@ -240,5 +240,14 @@
|
|||
"aliases": [
|
||||
"zig"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "osabie",
|
||||
"aliases": [
|
||||
"osabie",
|
||||
"05AB1E",
|
||||
"osable",
|
||||
"usable"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
|
|
@ -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
|
|
@ -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
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
"good
|
|
@ -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 '---'
|
||||
|
|
|
@ -276,6 +276,7 @@ Content-Type: application/json
|
|||
`nasm64`,
|
||||
`nim`,
|
||||
`node`,
|
||||
`osabie`,
|
||||
`paradoc`,
|
||||
`perl`,
|
||||
`php`,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue