mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-26 06:56:28 +02:00
Adding Raku
probably doesn't work lol tried copying the other ones someone could probably implement it using the build instructions from this https://rakudo.org/downloads/rakudo/source
This commit is contained in:
parent
d68a1d67c8
commit
3365ba34b8
5 changed files with 23 additions and 0 deletions
10
packages/raku/build.sh
Normal file
10
packages/raku/build.sh
Normal file
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
mkdir -p bin
|
||||
cd bin/
|
||||
|
||||
curl -L "https://rakudo.org/dl/rakudo/rakudo-moar-2021.05-01-linux-x86_64-gcc.tar.gz" -o raku.tar.xz
|
||||
tar xf raku.tar.xz --strip-components=1
|
||||
rm raku.tar.xz
|
||||
|
||||
cd ../
|
4
packages/raku/environment
Normal file
4
packages/raku/environment
Normal file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Path to raku binary
|
||||
export PATH=$PWD/bin:$PATH
|
5
packages/raku/metadata.json
Normal file
5
packages/raku/metadata.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"language": "raku",
|
||||
"version": "v6.d",
|
||||
"aliases": ["raku", "rakudo", "perl6", "p6", "pl6"]
|
||||
}
|
3
packages/raku/run
Normal file
3
packages/raku/run
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
raku "$@"
|
1
packages/raku/test.raku
Normal file
1
packages/raku/test.raku
Normal file
|
@ -0,0 +1 @@
|
|||
say "Hello Bruh"
|
Loading…
Add table
Add a link
Reference in a new issue