Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(317)

Unified Diff: sky/sdk/README.md

Issue 1136503002: Create wrapper script around mojom's generate.dart in the Sky package. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698