Skip to content

Commit

Permalink
add Dart 3.0.1 package (#602)
Browse files Browse the repository at this point in the history
  • Loading branch information
lohanidamodar committed Apr 18, 2024
1 parent 684b47d commit c4cf018
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/dart/3.0.1/build.sh
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions packages/dart/3.0.1/environment
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env bash

# Put 'export' statements here for environment variables
export PATH=$PWD/bin:$PATH
5 changes: 5 additions & 0 deletions packages/dart/3.0.1/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"language": "dart",
"version": "3.0.1",
"aliases": []
}
4 changes: 4 additions & 0 deletions packages/dart/3.0.1/run
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env bash

# Put instructions to run the runtime
dart run "$@"
3 changes: 3 additions & 0 deletions packages/dart/3.0.1/test.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
void main() {
print('OK');
}

0 comments on commit c4cf018

Please sign in to comment.