From 28314f16ab2885185717fa3bcce8b5a87a46dac0 Mon Sep 17 00:00:00 2001 From: RVG|lory <87276663+LoryPelli@users.noreply.github.com> Date: Sat, 8 Apr 2023 13:52:48 +0200 Subject: [PATCH] Updated to `Dart 2.19.6` --- packages/dart/2.19.6/build.sh | 11 +++++++++++ packages/dart/2.19.6/environment | 4 ++++ packages/dart/2.19.6/metadata.json | 5 +++++ packages/dart/2.19.6/run | 4 ++++ packages/dart/2.19.6/test.dart | 3 +++ 5 files changed, 27 insertions(+) create mode 100644 packages/dart/2.19.6/build.sh create mode 100644 packages/dart/2.19.6/environment create mode 100644 packages/dart/2.19.6/metadata.json create mode 100644 packages/dart/2.19.6/run create mode 100644 packages/dart/2.19.6/test.dart 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