pkg(dart-2.12.1): Added dart 2.12.1
This commit is contained in:
parent
05dc79d9f8
commit
39adb13ba1
|
@ -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
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Put 'export' statements here for environment variables
|
||||
export PATH=$PWD/bin:$PATH
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"language": "dart",
|
||||
"version": "2.12.1",
|
||||
"aliases": [],
|
||||
"author": "Thomas Hobson <git@hexf.me>"
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Put instructions to run the runtime
|
||||
dart run $*
|
|
@ -0,0 +1,3 @@
|
|||
void main() {
|
||||
print('OK');
|
||||
}
|
Loading…
Reference in New Issue