mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-23 05:26:28 +02:00
feat(packages): replace old crystal version
This commit is contained in:
parent
b9adb6f854
commit
f70ecdd8b4
6 changed files with 2 additions and 2 deletions
7
packages/crystal/1.9.2/build.sh
vendored
Normal file
7
packages/crystal/1.9.2/build.sh
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
PREFIX=$(realpath $(dirname $0))
|
||||
|
||||
curl -L "https://github.com/crystal-lang/crystal/releases/download/1.9.2/crystal-1.9.2-1-linux-x86_64.tar.gz" -o crystal.tar.gz
|
||||
tar xzf crystal.tar.gz --strip-components=1
|
||||
rm crystal.tar.gz
|
5
packages/crystal/1.9.2/compile
vendored
Normal file
5
packages/crystal/1.9.2/compile
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Compile crystal files into out file
|
||||
crystal build "$@" -o out --no-color && \
|
||||
chmod +x out
|
1
packages/crystal/1.9.2/environment
vendored
Normal file
1
packages/crystal/1.9.2/environment
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
export PATH=$PWD/bin:$PATH
|
5
packages/crystal/1.9.2/metadata.json
vendored
Normal file
5
packages/crystal/1.9.2/metadata.json
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"language": "crystal",
|
||||
"version": "1.9.2",
|
||||
"aliases": ["crystal", "cr"]
|
||||
}
|
4
packages/crystal/1.9.2/run
vendored
Normal file
4
packages/crystal/1.9.2/run
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
shift # Filename is only used to compile
|
||||
./out "$@"
|
1
packages/crystal/1.9.2/test.cr
vendored
Normal file
1
packages/crystal/1.9.2/test.cr
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
puts("OK")
|
Loading…
Add table
Add a link
Reference in a new issue