mirror of
https://github.com/engineer-man/piston.git
synced 2025-09-20 19:00:04 +02:00
Add Crystal
This commit is contained in:
parent
b0c462d5ee
commit
10d85553db
7 changed files with 26 additions and 0 deletions
10
readme.md
10
readme.md
|
@ -261,6 +261,15 @@ cd nim-1.4.0
|
|||
echo 'export PATH=$PATH:/opt/nim/bin' >> /opt/.profile
|
||||
source /opt/.profile
|
||||
|
||||
# install crystal
|
||||
# final binary: /opt/crystal/crystal-0.35.1-1/bin/crystal
|
||||
# get version: /opt/crystal/crystal-0.35.1-1/bin/crystal -v
|
||||
cd /opt && mkdir crystal && cd crystal
|
||||
wget https://github.com/crystal-lang/crystal/releases/download/0.35.1/crystal-0.35.1-1-linux-x86_64.tar.gz
|
||||
tar -xzf crystal-0.35.1-1-linux-x86_64.tar.gz
|
||||
echo 'export PATH="$PATH:/opt/crystal/crystal-0.35.1-1/bin:$PATH"' >> /opt/.profile
|
||||
source /opt/.profile
|
||||
|
||||
# create runnable users and apply limits
|
||||
for i in {1..150}; do
|
||||
useradd -M runner$i
|
||||
|
@ -362,6 +371,7 @@ If an invalid language is supplied, a typical response will look like the follow
|
|||
- bash
|
||||
- c
|
||||
- cpp
|
||||
- crystal
|
||||
- csharp
|
||||
- deno
|
||||
- elixir
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue