OLD | NEW |
1 # Hacking Observatory | 1 # Hacking Observatory |
2 | 2 |
3 These instructions will guide you through the Observatory development and | 3 These instructions will guide you through the Observatory development and |
4 testing workflow. | 4 testing workflow. |
5 | 5 |
6 ## SDK Setup & Build | 6 ## SDK Setup & Build |
7 Getting ready to start. | 7 Getting ready to start. |
8 | 8 |
9 Before you start to hack on Observatory, follow the [instructions][build_sdk] to | 9 Before you start to hack on Observatory, follow the [instructions][build_sdk] to |
10 have a working environment in which you are able to build and test the Dart SDK. | 10 have a working environment in which you are able to build and test the Dart SDK. |
11 | 11 |
12 ### Develop with Dartium ~ Suggested | 12 ### Develop with Dartium ~ Suggested |
13 If you want to avoid triggering a new compilation to JavaScript for each edit | 13 If you want to avoid triggering a new compilation to JavaScript for each edit |
14 you do, you can use a modified version of Chromium named Dartium that will | 14 you do, you can use a modified version of Chromium named Dartium that will |
15 interpret you dart code directly. | 15 interpret your dart code directly. |
16 | 16 |
17 You can obtain Dartium in two different ways: | 17 You can obtain Dartium in two different ways: |
18 1. [Download][download_dartium] the binaries | 18 1. [Download][download_dartium] the binaries |
19 2. [Build][build_dartium] Dartium from the source code | 19 2. [Build][build_dartium] Dartium from the source code |
20 | 20 |
21 | 21 |
22 ## Run existing tests | 22 ## Run existing tests |
23 Before hacking Observatory let's run the existing Observatory tests. | 23 Before hacking Observatory let's run the existing Observatory tests. |
24 We suggest to run all the test in __debug__ mode. | 24 We suggest to run all the test in __debug__ mode. |
25 | 25 |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 ## Run your tests | 184 ## Run your tests |
185 See: __Run existing tests__ | 185 See: __Run existing tests__ |
186 | 186 |
187 [build_sdk]: https://github.com/dart-lang/sdk/wiki/Building "Building the Dart S
DK" | 187 [build_sdk]: https://github.com/dart-lang/sdk/wiki/Building "Building the Dart S
DK" |
188 [download_dartium]: https://webdev.dartlang.org/tools/dartium/ "Download Dartium
" | 188 [download_dartium]: https://webdev.dartlang.org/tools/dartium/ "Download Dartium
" |
189 [build_dartium]: https://github.com/dart-lang/sdk/wiki/Building-Dartium "Build D
artium" | 189 [build_dartium]: https://github.com/dart-lang/sdk/wiki/Building-Dartium "Build D
artium" |
190 [open_observatory]: http://localhost:8080/ "Open Observatory" | 190 [open_observatory]: http://localhost:8080/ "Open Observatory" |
191 [observatory_get_started]: https://dart-lang.github.io/observatory/get-started.h
tml "Observatory get started" | 191 [observatory_get_started]: https://dart-lang.github.io/observatory/get-started.h
tml "Observatory get started" |
192 [code_review]: https://github.com/dart-lang/sdk/wiki/Code-review-workflow-with-G
itHub-and-reitveld "Code Review" | 192 [code_review]: https://github.com/dart-lang/sdk/wiki/Code-review-workflow-with-G
itHub-and-reitveld "Code Review" |
193 [test_library]: https://pub.dartlang.org/packages/test "Test Library" | 193 [test_library]: https://pub.dartlang.org/packages/test "Test Library" |
OLD | NEW |