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

Unified Diff: sky/sdk/README.md

Issue 1110283002: Add pubspec.yaml files for each of the examples/ directories (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Updated Created 5 years, 8 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 | « sky/examples/widgets/pubspec.yaml ('k') | 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 e27175d141239bc18d14d10a4c4725bcec8492b3..7ff1c5859a4fdac5b41bfd5fbbbb764b89ea382f 100644
--- a/sky/sdk/README.md
+++ b/sky/sdk/README.md
@@ -131,13 +131,23 @@ Running a Sky application
-------------------------
The `sky` pub package includes a `sky_tool` script to assist in running
-Sky applications inside the `SkyDemo.apk` harness.
+Sky applications inside the `SkyDemo.apk` harness. The sky_tool script expects
+to be run from the root directory of your application pub package. To run
+one of the examples in this SDK, try:
-1. ``packages/sky/sky_tool start --install examples/stocks/main.sky``
+1. ``cd examples/stocks``
+
+2. ``pub get`` to set up a copy of the sky package in the app directory.
+
+3. ``./packages/sky/sky_tool start --install``
The --install flag is only necessary to install SkyDemo.apk if not already
- installed from the Google Play store.
+ installed on the device.
-2. Use ``adb logcat`` to view any errors or Dart print() output from the app.
+4. Use ``adb logcat`` to view any errors or Dart print() output from the app.
+ ``adb logcat -s chromium`` can be used to filter only adb messages from
+ `SkyDemo.apk` (which for
+ [legacy reasons](https://github.com/domokit/mojo/issues/129) still uses the
+ android log tag 'chromium').
Measuring Performance
---------------------
« no previous file with comments | « sky/examples/widgets/pubspec.yaml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698