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

Unified Diff: sky/sdk/home.dart

Issue 1218593002: Move sky/examples to sky/sdk/lib/example, and code changes to support that change. Fixes T277. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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
Index: sky/sdk/home.dart
diff --git a/sky/home.dart b/sky/sdk/home.dart
similarity index 76%
rename from sky/home.dart
rename to sky/sdk/home.dart
index a5a282ca035c8b76dd0816b4c6105190e2043f20..8dfb5baf894c6580578cd483a68eeb0a792a1695 100644
--- a/sky/home.dart
+++ b/sky/sdk/home.dart
@@ -51,17 +51,17 @@ class SkyDemo extends Component {
class SkyHome extends App {
Widget build() {
List<Widget> children = [
- new SkyDemo('Stocks App', 'examples/stocks2/lib/stock_app.dart'),
- new SkyDemo('Asteroids Game', 'examples/game/main.dart'),
- new SkyDemo('Interactive Flex', 'examples/rendering/interactive_flex.dart'),
- new SkyDemo('Sector Layout', 'examples/widgets/sector.dart'),
- new SkyDemo('Touch Demo', 'examples/rendering/touch_demo.dart'),
- new SkyDemo('Minedigger Game', 'examples/mine_digger/mine_digger.dart'),
+ new SkyDemo('Stocks App', 'lib/example/stocks2/lib/stock_app.dart'),
+ new SkyDemo('Asteroids Game', 'lib/example/game/main.dart'),
+ new SkyDemo('Interactive Flex', 'lib/example/rendering/interactive_flex.dart'),
+ new SkyDemo('Sector Layout', 'lib/example/widgets/sector.dart'),
+ new SkyDemo('Touch Demo', 'lib/example/rendering/touch_demo.dart'),
+ new SkyDemo('Minedigger Game', 'lib/example/mine_digger/mine_digger.dart'),
// TODO(eseidel): We could use to separate these groups?
- new SkyDemo('Old Stocks App', 'examples/stocks/main.sky'),
- new SkyDemo('Old Touch Demo', 'examples/raw/touch-demo.sky'),
- new SkyDemo('Old Spinning Square', 'examples/raw/spinning-square.sky'),
+ new SkyDemo('Old Stocks App', 'lib/example/stocks/main.sky'),
+ new SkyDemo('Old Touch Demo', 'lib/example/raw/touch-demo.sky'),
+ new SkyDemo('Old Spinning Square', 'lib/example/raw/spinning-square.sky'),
new SkyDemo('Licences (Old)', 'LICENSES.sky'),
];
« sky/sdk/README.md ('K') | « sky/sdk/README.md ('k') | sky/sdk/lib/example/README.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698