 Chromium Code Reviews
 Chromium Code Reviews Issue 1136503002:
  Create wrapper script around mojom's generate.dart in the Sky package.  (Closed) 
  Base URL: https://github.com/domokit/mojo.git@master
    
  
    Issue 1136503002:
  Create wrapper script around mojom's generate.dart in the Sky package.  (Closed) 
  Base URL: https://github.com/domokit/mojo.git@master| Index: sky/sdk/README.md | 
| diff --git a/sky/sdk/README.md b/sky/sdk/README.md | 
| index 99df55c673d80fe9e878c546e59d970b9248c349..ad7f17d23b706b2c6e270cf2b2cf8e54d4d117b7 100644 | 
| --- a/sky/sdk/README.md | 
| +++ b/sky/sdk/README.md | 
| @@ -36,11 +36,13 @@ adding a [pubspec.yaml](https://www.dartlang.org/tools/pub/pubspec.html): | 
| name: your_app_name | 
| dependencies: | 
| sky: any | 
| + mojom: '>=0.0.3 <1.0.0' | 
| 
eseidel
2015/05/07 17:55:33
Other than this line, the change looks fine.
 
blundell
2015/05/07 18:38:47
What you suggested was my first thought as well. U
 
sethladd
2015/05/11 16:38:02
If you want to run a Dart script from a package th
 | 
| ``` | 
| Once the pubspec is in place, create a `lib` directory (where your dart code | 
| -will go) and run `pub get` to download all necessary dependencies and create | 
| -the symlinks necessary for 'package:your_app_names/main.dart' includes to work. | 
| +will go) and run the following: | 
| + | 
| +`pub get && pub run mojom:generate`. | 
| Currently the Sky Engine assumes the entry point for your application is a | 
| `main` function located inside a `main.sky` file at the root of the package. |