pkg(dart-2.12.1): Added dart 2.12.1

This commit is contained in:
Thomas Hobson 2021-03-14 01:24:59 +13:00
parent 05dc79d9f8
commit 39adb13ba1
No known key found for this signature in database
GPG Key ID: 9F1FD9D87950DB6F
5 changed files with 28 additions and 0 deletions

11
packages/dart/2.12.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/2.12.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/2.12.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

6
packages/dart/2.12.1/metadata.json vendored Normal file
View File

@ -0,0 +1,6 @@
{
"language": "dart",
"version": "2.12.1",
"aliases": [],
"author": "Thomas Hobson <git@hexf.me>"
}

4
packages/dart/2.12.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/2.12.1/test.dart vendored Normal file
View File

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