Compare commits

..

7 Commits

Author SHA1 Message Date
Thomas Hobson e95d386697
Merge pull request #406 from Hydrazer/master
pkg(racket-8.3.0): added racket 8.3.0
2021-11-28 17:22:16 +13:00
Hydrazer 132a835b0b pkg(racket-8.3.0): added racket 8.3.0 2021-11-27 20:00:11 -07:00
Thomas Hobson c385c73bc4
Merge pull request #403 from Hydrazer/master
pkg(retina-1.2.0): added retina 1.2.0
2021-11-28 14:09:52 +13:00
Thomas Hobson ef9b22f154
Merge branch 'master' into master 2021-11-28 14:01:18 +13:00
Thomas Hobson 79f1ca50a5
Merge pull request #405 from Jonxslays/task/piston_rs
Add piston_rs to readme
2021-11-28 13:59:49 +13:00
Jonxslays d76aa7527e
Add piston_rs to readme 2021-11-27 12:26:28 -07:00
Hydrazer 6cee1e8c34 pkg(retina-1.2.0): added retina 1.2.0 2021-11-27 03:59:56 -07:00
11 changed files with 76 additions and 0 deletions

10
packages/racket/8.3.0/build.sh vendored Normal file
View File

@ -0,0 +1,10 @@
#!/usr/bin/env bash
# curl racket 8.3 linux installation shell file
curl -L 'https://download.racket-lang.org/installers/8.3/racket-8.3-x86_64-linux-cs.sh' -o racket.sh
# provide settings "no" "4" and "<CR>" to racket.sh
echo "no
4
" | sh racket.sh

5
packages/racket/8.3.0/environment vendored Normal file
View File

@ -0,0 +1,5 @@
#!/bin/bash
# Path to racket binary
export PATH=$PWD/bin:$PATH
export RACKET_PATH=$PWD/racket

5
packages/racket/8.3.0/metadata.json vendored Normal file
View File

@ -0,0 +1,5 @@
{
"language": "racket",
"version": "8.3.0",
"aliases": ["rkt"]
}

3
packages/racket/8.3.0/run vendored Normal file
View File

@ -0,0 +1,3 @@
#!/bin/bash
"$RACKET_PATH"/bin/racket "$@"

3
packages/racket/8.3.0/test.rkt vendored Normal file
View File

@ -0,0 +1,3 @@
#lang racket
(display "OK")

22
packages/retina/1.2.0/build.sh vendored Normal file
View File

@ -0,0 +1,22 @@
#!/usr/bin/env bash
# get dotnet 2.2.8 as a dependency for retina
curl "https://download.visualstudio.microsoft.com/download/pr/022d9abf-35f0-4fd5-8d1c-86056df76e89/477f1ebb70f314054129a9f51e9ec8ec/dotnet-sdk-2.2.207-linux-x64.tar.gz" -Lo dotnet.tar.gz
tar xzf dotnet.tar.gz --strip-components=1
rm dotnet.tar.gz
export DOTNET_CLI_HOME=$PWD
./dotnet new console -o cache_application
rm -rf cache_application
# curl retina version 1.2.0
curl -L "https://github.com/m-ender/retina/releases/download/v1.2.0/retina-linux-x64.tar.gz" -o retina.tar.xz
tar xf retina.tar.xz --strip-components=1
rm retina.tar.xz
# move the libhostfxr.so file to the current directory so we don't have to set DOTNET_ROOT
mv host/fxr/2.2.8/libhostfxr.so libhostfxr.so
# give execute permissions to retina
chmod +x Retina

4
packages/retina/1.2.0/environment vendored Normal file
View File

@ -0,0 +1,4 @@
#!/bin/bash
export PATH=$PWD/bin:$PATH
export RETINA_PATH=$PWD

5
packages/retina/1.2.0/metadata.json vendored Normal file
View File

@ -0,0 +1,5 @@
{
"language": "retina",
"version": "1.2.0",
"aliases": ["ret"]
}

15
packages/retina/1.2.0/run vendored Normal file
View File

@ -0,0 +1,15 @@
#!/bin/bash
# retina doesn't take interactive stdin and doesn't take args either
# save the file for later
file="$1"
# remove file from $@
shift
# join arguments on newline
stdin=`printf "%s\n" "$@"`
# pass stdin into Retina command with file as argument
echo "$stdin" | "$RETINA_PATH"/Retina "$file"

1
packages/retina/1.2.0/test.ret vendored Normal file
View File

@ -0,0 +1 @@
K`OK

View File

@ -85,6 +85,7 @@ The following are approved and endorsed extensions/utilities to the core Piston
- [Piston4J](https://github.com/the-codeboy/Piston4J), a Java wrapper for accessing the Piston API. - [Piston4J](https://github.com/the-codeboy/Piston4J), a Java wrapper for accessing the Piston API.
- [Pyston](https://github.com/ffaanngg/pyston), a Python wrapper for accessing the Piston API. - [Pyston](https://github.com/ffaanngg/pyston), a Python wrapper for accessing the Piston API.
- [Go-Piston](https://github.com/milindmadhukar/go-piston), a Golang wrapper for accessing the Piston API. - [Go-Piston](https://github.com/milindmadhukar/go-piston), a Golang wrapper for accessing the Piston API.
- [piston_rs](https://github.com/Jonxslays/piston_rs), a Rust wrapper for accessing the Piston API.
<br> <br>
@ -381,7 +382,9 @@ Content-Type: application/json
`pyth`, `pyth`,
`python`, `python`,
`python2`, `python2`,
`racket`,
`raku`, `raku`,
`retina`,
`rockstar`, `rockstar`,
`rscript`, `rscript`,
`ruby`, `ruby`,