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:
Hydrazer 2021-06-12 11:44:10 -06:00
parent d68a1d67c8
commit 3365ba34b8
5 changed files with 23 additions and 0 deletions

10
packages/raku/build.sh Normal file
View 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 ../

View file

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

View file

@ -0,0 +1,5 @@
{
"language": "raku",
"version": "v6.d",
"aliases": ["raku", "rakudo", "perl6", "p6", "pl6"]
}

3
packages/raku/run Normal file
View file

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

1
packages/raku/test.raku Normal file
View file

@ -0,0 +1 @@
say "Hello Bruh"