From d51f3d349d1eaaca9480549ffade10df5529d014 Mon Sep 17 00:00:00 2001 From: Eric Seidel Date: Tue, 28 Apr 2015 16:26:38 -0700 Subject: [PATCH] Add pubspec.yaml files for each of the examples/ directories so that pub get will create a packages/ directory for each and users of packages/sky/sky_tool can run these examples from sky_sdk as the instructions say to. TBR=ianh@google.com https://github.com/domokit/mojo/issues/128 Review URL: https://codereview.chromium.org/1110283002 --- engine/src/flutter/examples/README.md | 5 ++++- engine/src/flutter/examples/hello_world/pubspec.yaml | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 engine/src/flutter/examples/hello_world/pubspec.yaml diff --git a/engine/src/flutter/examples/README.md b/engine/src/flutter/examples/README.md index 6305be9681..deb0f3cf10 100644 --- a/engine/src/flutter/examples/README.md +++ b/engine/src/flutter/examples/README.md @@ -1,7 +1,10 @@ Sky Examples ============ -This directory contains several examples of using Sky. +This directory contains several examples of using Sky. Each of these is an +individual Dart application package. If you wish to run them with `sky_tool` +then you will want to run `pub get` inside their directory before running +`./packages/sky/sky_tool start`. 1. *Hello, world.* The [hello world app](hello_world) is a basic app that shows the text "hello, world." diff --git a/engine/src/flutter/examples/hello_world/pubspec.yaml b/engine/src/flutter/examples/hello_world/pubspec.yaml new file mode 100644 index 0000000000..fb27d11e6b --- /dev/null +++ b/engine/src/flutter/examples/hello_world/pubspec.yaml @@ -0,0 +1,3 @@ +name: hello_world +dependencies: + sky: any