mirror of
https://github.com/engineer-man/piston.git
synced 2025-06-07 18:56:26 +02:00
pkg(dart-2.12.1): Added dart 2.12.1
This commit is contained in:
parent
05dc79d9f8
commit
39adb13ba1
5 changed files with 28 additions and 0 deletions
11
packages/dart/2.12.1/build.sh
vendored
Executable file
11
packages/dart/2.12.1/build.sh
vendored
Executable 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
4
packages/dart/2.12.1/environment
vendored
Normal 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
6
packages/dart/2.12.1/metadata.json
vendored
Normal 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
4
packages/dart/2.12.1/run
vendored
Normal 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
3
packages/dart/2.12.1/test.dart
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
void main() {
|
||||||
|
print('OK');
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue