diff --git a/library/dart b/library/dart new file mode 100644 index 0000000000..161926ddb3 --- /dev/null +++ b/library/dart @@ -0,0 +1,10 @@ +Maintainers: Alexander Thomas (@athomas), Tony Pujals (@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 \ No newline at end of file diff --git a/test/tests/dart-hello-world/container.dart b/test/tests/dart-hello-world/container.dart new file mode 100644 index 0000000000..852e2b28ec --- /dev/null +++ b/test/tests/dart-hello-world/container.dart @@ -0,0 +1,3 @@ +void main() { + print('Hello World!'); +} \ No newline at end of file diff --git a/test/tests/dart-hello-world/expected-std-out.txt b/test/tests/dart-hello-world/expected-std-out.txt new file mode 100644 index 0000000000..980a0d5f19 --- /dev/null +++ b/test/tests/dart-hello-world/expected-std-out.txt @@ -0,0 +1 @@ +Hello World! diff --git a/test/tests/dart-hello-world/run.sh b/test/tests/dart-hello-world/run.sh new file mode 120000 index 0000000000..5efa0c66bb --- /dev/null +++ b/test/tests/dart-hello-world/run.sh @@ -0,0 +1 @@ +../run-dart-in-container.sh \ No newline at end of file diff --git a/test/tests/run-dart-in-container.sh b/test/tests/run-dart-in-container.sh new file mode 100644 index 0000000000..7ab31ed2a2 --- /dev/null +++ b/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