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:
parent
8c50d9339c
commit
d12f84c818
@ -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."
|
||||
|
3
examples/color/pubspec.yaml
Normal file
3
examples/color/pubspec.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
name: color
|
||||
dependencies:
|
||||
sky: any
|
3
examples/hello_world/pubspec.yaml
Normal file
3
examples/hello_world/pubspec.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
name: hello_world
|
||||
dependencies:
|
||||
sky: any
|
3
examples/raw/pubspec.yaml
Normal file
3
examples/raw/pubspec.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
name: raw
|
||||
dependencies:
|
||||
sky: any
|
3
examples/widgets/pubspec.yaml
Normal file
3
examples/widgets/pubspec.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
name: widgets
|
||||
dependencies:
|
||||
sky: any
|
Loading…
x
Reference in New Issue
Block a user