diff --git a/packages/dart/2.19.6/build.sh b/packages/dart/2.19.6/build.sh new file mode 100644 index 0000000..ec04ab1 --- /dev/null +++ b/packages/dart/2.19.6/build.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +curl -L "https://storage.googleapis.com/dart-archive/channels/stable/release/2.19.6/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 \ No newline at end of file diff --git a/packages/dart/2.19.6/environment b/packages/dart/2.19.6/environment new file mode 100644 index 0000000..c6ab089 --- /dev/null +++ b/packages/dart/2.19.6/environment @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +# Put 'export' statements here for environment variables +export PATH=$PWD/bin:$PATH \ No newline at end of file diff --git a/packages/dart/2.19.6/metadata.json b/packages/dart/2.19.6/metadata.json new file mode 100644 index 0000000..ab0c1a2 --- /dev/null +++ b/packages/dart/2.19.6/metadata.json @@ -0,0 +1,5 @@ +{ + "language": "dart", + "version": "2.19.6", + "aliases": [] +} \ No newline at end of file diff --git a/packages/dart/2.19.6/run b/packages/dart/2.19.6/run new file mode 100644 index 0000000..062d7c6 --- /dev/null +++ b/packages/dart/2.19.6/run @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +# Put instructions to run the runtime +dart run "$@" \ No newline at end of file diff --git a/packages/dart/2.19.6/test.dart b/packages/dart/2.19.6/test.dart new file mode 100644 index 0000000..27e87b2 --- /dev/null +++ b/packages/dart/2.19.6/test.dart @@ -0,0 +1,3 @@ +void main() { + print('OK'); +} \ No newline at end of file