From c4cf018be2e73a378de9bfd64f36b7804804f164 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Thu, 18 Apr 2024 17:25:14 +0545 Subject: [PATCH] add Dart 3.0.1 package (#602) --- packages/dart/3.0.1/build.sh | 11 +++++++++++ packages/dart/3.0.1/environment | 4 ++++ packages/dart/3.0.1/metadata.json | 5 +++++ packages/dart/3.0.1/run | 4 ++++ packages/dart/3.0.1/test.dart | 3 +++ 5 files changed, 27 insertions(+) create mode 100755 packages/dart/3.0.1/build.sh create mode 100644 packages/dart/3.0.1/environment create mode 100644 packages/dart/3.0.1/metadata.json create mode 100644 packages/dart/3.0.1/run create mode 100644 packages/dart/3.0.1/test.dart diff --git a/packages/dart/3.0.1/build.sh b/packages/dart/3.0.1/build.sh new file mode 100755 index 00000000..02e9f7e4 --- /dev/null +++ b/packages/dart/3.0.1/build.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +curl -L "https://storage.googleapis.com/dart-archive/channels/stable/release/3.0.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 \ No newline at end of file diff --git a/packages/dart/3.0.1/environment b/packages/dart/3.0.1/environment new file mode 100644 index 00000000..c6ab0893 --- /dev/null +++ b/packages/dart/3.0.1/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/3.0.1/metadata.json b/packages/dart/3.0.1/metadata.json new file mode 100644 index 00000000..afc3ae29 --- /dev/null +++ b/packages/dart/3.0.1/metadata.json @@ -0,0 +1,5 @@ +{ + "language": "dart", + "version": "3.0.1", + "aliases": [] +} \ No newline at end of file diff --git a/packages/dart/3.0.1/run b/packages/dart/3.0.1/run new file mode 100644 index 00000000..062d7c6a --- /dev/null +++ b/packages/dart/3.0.1/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/3.0.1/test.dart b/packages/dart/3.0.1/test.dart new file mode 100644 index 00000000..27e87b23 --- /dev/null +++ b/packages/dart/3.0.1/test.dart @@ -0,0 +1,3 @@ +void main() { + print('OK'); +} \ No newline at end of file