Update CONTRIBUTING.md
This commit is contained in:
@@ -48,9 +48,9 @@ target. Building on MacOS for Android, iOS, and a head-less MacOS target is comi
|
||||
* `ninja -C out/android_Debug`
|
||||
* `./sky/tools/shelldb start out/android_Debug/ sky/packages/sky/example/hello_world/lib/main.dart`
|
||||
|
||||
### Linux (on Linux)
|
||||
### Desktop (Mac and Linux)
|
||||
|
||||
* (Only the first time) `sudo ./build/install-build-deps.sh`
|
||||
* (Linux, only the first time) `sudo ./build/install-build-deps.sh`
|
||||
* `./sky/tools/gn`
|
||||
* `ninja -C out/Debug`
|
||||
|
||||
@@ -58,8 +58,11 @@ Running the code
|
||||
----------------
|
||||
|
||||
* `./sky/tools/test_sky --debug` runs the tests on the host machine using `out/Debug`.
|
||||
* `./out/Debug/sky_shell --package-root=sky/packages/workbench/packages sky/packages/sky/example/hello_world/lib/main.dart`
|
||||
Note: Because Linux is headless, you won't see any UI. You can use `print` to generate console output or you can interact with the DartVM via observatory at [http://localhost:8181/](http://localhost:8181/).
|
||||
* If you want to run the run a test directly:
|
||||
- (Linux) `./out/Debug/sky_shell --package-root=sky/packages/workbench/packages sky/tests/lowlevel/trivial.dart`
|
||||
- (Mac) `./out/Debug/SkyShell.app/Contents/MacOS/SkyShell --package-root=sky/packages/workbench/packages sky/tests/lowlevel/trivial.dart`
|
||||
|
||||
Note: The tests are headless, you won't see any UI. You can use `print` to generate console output or you can interact with the DartVM via observatory at [http://localhost:8181/](http://localhost:8181/).
|
||||
|
||||
Contributing code
|
||||
-----------------
|
||||
|
||||
Reference in New Issue
Block a user