Alexander Thomas 4 年之前
父節點
當前提交
91ce82bd8f

+ 10 - 0
library/dart

@@ -0,0 +1,10 @@
+Maintainers: Alexander Thomas <[email protected]> (@athomas), Tony Pujals <[email protected]> (@tonypujals)
+GitRepo: https://github.com/dart-lang/dart-docker.git
+GitFetch: refs/heads/main
+GitCommit: c3f2dbac4f552bd5e94965dd6de80bcdf897d963
+
+Tags: 2.12.4-sdk, 2.12-sdk, 2-sdk, stable-sdk, sdk, 2.12.4, 2.12, 2, stable, latest
+Directory: stable/buster
+
+Tags: 2.13.0-211.14.beta-sdk, beta-sdk, 2.13.0-211.14.beta, beta
+Directory: beta/buster

+ 3 - 0
test/tests/dart-hello-world/container.dart

@@ -0,0 +1,3 @@
+void main() {
+  print('Hello World!');
+}

+ 1 - 0
test/tests/dart-hello-world/expected-std-out.txt

@@ -0,0 +1 @@
+Hello World!

+ 1 - 0
test/tests/dart-hello-world/run.sh

@@ -0,0 +1 @@
+../run-dart-in-container.sh

+ 7 - 0
test/tests/run-dart-in-container.sh

@@ -0,0 +1,7 @@
+#!/bin/bash
+set -e
+
+testDir="$(readlink -f "$(dirname "$BASH_SOURCE")")"
+runDir="$(dirname "$(readlink -f "$BASH_SOURCE")")"
+
+source "$runDir/run-in-container.sh" "$testDir" "$1" dart ./container.dart