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
This commit is contained in:
Eric Seidel 2015-04-28 16:26:38 -07:00
parent 8c50d9339c
commit d12f84c818
5 changed files with 16 additions and 1 deletions

View File

@ -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."

View File

@ -0,0 +1,3 @@
name: color
dependencies:
sky: any

View File

@ -0,0 +1,3 @@
name: hello_world
dependencies:
sky: any

View File

@ -0,0 +1,3 @@
name: raw
dependencies:
sky: any

View File

@ -0,0 +1,3 @@
name: widgets
dependencies:
sky: any