提交 06adbc9a 编写于 作者: A Adam Barth

Move examples to //sky/sdk/example

We're trying to follow the pattern described in https://www.dartlang.org/tools/pub/package-layout.html

TBR=iansf@google.com

Review URL: https://codereview.chromium.org/1210173004.
上级 dcabb54a
...@@ -18,6 +18,6 @@ public class StocksActivity extends SkyActivity { ...@@ -18,6 +18,6 @@ public class StocksActivity extends SkyActivity {
@Override @Override
protected void onCreate(Bundle savedInstanceState) { protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
loadUrl("https://domokit.github.io/sky/sdk/lib/example/stocks/index.sky"); loadUrl("https://domokit.github.io/sky/sdk/example/stocks/index.sky");
} }
} }
...@@ -88,7 +88,7 @@ to the underlying render tree. ...@@ -88,7 +88,7 @@ to the underlying render tree.
* To learn how to run Sky on your device, please see the * To learn how to run Sky on your device, please see the
[Running a Sky application](#running-a-sky-application) section in this [Running a Sky application](#running-a-sky-application) section in this
document. document.
* To dive into examples, please see the [examples directory](lib/example). * To dive into examples, please see the [examples directory](example/).
Services Services
-------- --------
...@@ -146,7 +146,7 @@ Sky applications inside the `SkyDemo.apk` harness. The `sky_tool` script ...@@ -146,7 +146,7 @@ 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 expects to be run from the root directory of your application pub package. To
run one of the examples in this SDK, try: run one of the examples in this SDK, try:
1. `cd sdk/lib/example/stocks` 1. `cd example/stocks`
2. `pub get` to set up a copy of the sky package in the app directory. 2. `pub get` to set up a copy of the sky package in the app directory.
......
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册