-
Notifications
You must be signed in to change notification settings - Fork 6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
Contributing to Sky Engine | ||
========================== | ||
|
||
Getting the code | ||
---------------- | ||
|
||
To get the code: | ||
|
||
1. Fork https://github.com/domokit/sky_engine into your own GitHub account. | ||
2. [Download depot_tools](http://www.chromium.org/developers/how-tos/install-depot-tools) | ||
and make sure it is in your path. | ||
3. Create a `.gclient` file in an empty directory with the following contents: | ||
|
||
``` | ||
solutions = [ | ||
{ | ||
"managed": False, | ||
"name": "src", | ||
"url": "[email protected]:<your_name_here>/sky_engine.git", | ||
"custom_deps": {}, | ||
"deps_file": "DEPS", | ||
"safesync_url": "", | ||
}, | ||
] | ||
target_os = ["android"] | ||
``` | ||
|
||
4. `svn ls https://dart.googlecode.com/` and accept the certificate permanently. | ||
5. `gclient sync` | ||
6. `cd src` | ||
7. `git remote add upstream [email protected]:domokit/sky_engine.git` | ||
8. `./build/install-build-deps.sh` | ||
|
||
Building the code | ||
----------------- | ||
|
||
1. `./mojo/tools/mojob gn` | ||
2. `ninja -C out/Debug` | ||
|
||
Contributing code | ||
----------------- | ||
|
||
The Sky engine repository gladly accepts contributions via GitHub pull requests. |