Compare commits

...

4 Commits

Author SHA1 Message Date
scpchicken e8f3422ed8
Merge 7199dd266e into c4cf018be2 2024-04-18 23:41:03 +12:00
Damodar Lohani c4cf018be2
add Dart 3.0.1 package (#602) 2024-04-18 23:40:14 +12:00
Kodie 684b47d2a2
pkg(node-20.11.0) Added Node 20.11.0 (#646) 2024-04-18 23:38:20 +12:00
Hydrazer 7199dd266e pkg(k-1.0.0): Added k 1.0.0 2022-12-24 08:37:55 -07:00
16 changed files with 69 additions and 0 deletions

11
packages/dart/3.0.1/build.sh vendored Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/env bash
curl -L "https://storage.googleapis.com/dart-archive/channels/stable/release/3.0.1/sdk/dartsdk-linux-x64-release.zip" -o dart.zip
unzip dart.zip
rm dart.zip
cp -r dart-sdk/* .
rm -rf dart-sdk
chmod -R +rx bin

4
packages/dart/3.0.1/environment vendored Normal file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
# Put 'export' statements here for environment variables
export PATH=$PWD/bin:$PATH

5
packages/dart/3.0.1/metadata.json vendored Normal file
View File

@ -0,0 +1,5 @@
{
"language": "dart",
"version": "3.0.1",
"aliases": []
}

4
packages/dart/3.0.1/run vendored Normal file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
# Put instructions to run the runtime
dart run "$@"

3
packages/dart/3.0.1/test.dart vendored Normal file
View File

@ -0,0 +1,3 @@
void main() {
print('OK');
}

9
packages/ngnk/1.0.0/build.sh vendored Executable file
View File

@ -0,0 +1,9 @@
#!/usr/bin/env bash
set -e
git clone "https://codeberg.org/ngn/k" k
cd k
git checkout 040f73b56f379a8298cb1747075c9e947dfe0e42
make CC=gcc

4
packages/ngnk/1.0.0/environment vendored Normal file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
export PATH=$PWD/bin:$PATH
export K_PATH=$PWD/k

5
packages/ngnk/1.0.0/metadata.json vendored Normal file
View File

@ -0,0 +1,5 @@
{
"language": "ngnk",
"version": "1.0.0",
"aliases": ["k"]
}

3
packages/ngnk/1.0.0/run vendored Normal file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
$K_PATH/k "$@"

1
packages/ngnk/1.0.0/test.k vendored Normal file
View File

@ -0,0 +1 @@
`0:"OK"

4
packages/node/20.11.1/build.sh vendored Normal file
View File

@ -0,0 +1,4 @@
#!/bin/bash
curl "https://nodejs.org/dist/v20.11.1/node-v20.11.1-linux-x64.tar.xz" -o node.tar.xz
tar xf node.tar.xz --strip-components=1
rm node.tar.xz

1
packages/node/20.11.1/environment vendored Normal file
View File

@ -0,0 +1 @@
export PATH=$PWD/bin:$PATH

10
packages/node/20.11.1/metadata.json vendored Normal file
View File

@ -0,0 +1,10 @@
{
"language": "node",
"version": "20.11.1",
"provides": [
{
"language": "javascript",
"aliases": ["node-javascript", "node-js", "javascript", "js"]
}
]
}

3
packages/node/20.11.1/run vendored Normal file
View File

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

1
packages/node/20.11.1/test.js vendored Normal file
View File

@ -0,0 +1 @@
console.log('OK');

View File

@ -350,6 +350,7 @@ Content-Type: application/json
`javascript`,
`jelly`,
`julia`,
`k`,
`kotlin`,
`lisp`,
`llvm_ir`,