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

Side by Side Diff: sky/HACKING.md

Issue 764023007: Fix the sky build instructions (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 unified diff | Download patch
« no previous file with comments | « sky/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Hacking on Sky 1 Hacking on Sky
2 ============== 2 ==============
3 3
4 Building 4 Building
5 -------- 5 --------
6 6
7 * Follow the setup & build instructions for [Mojo](https://github.com/domokit/mo jo) 7 * Follow the setup & build instructions for [Mojo](https://github.com/domokit/mo jo)
8 * Build ``sky`` with ``ninja``, e.g. ``ninja -C out/Debug sky`` for a debug buil d.
9
10 If you want to build release, run the following commands:
11
12 * ``gn gen out/Release --args="is_debug=false"``
13 * ``ninja -C out/Release sky``
14 8
15 Running applications 9 Running applications
16 -------------------- 10 --------------------
17 11
18 * ``./sky/tools/skydb --debug [url]`` 12 * ``./sky/tools/skydb --debug [url]``
19 * You should see a ``(skydb)`` prompt 13 * You should see a ``(skydb)`` prompt
20 * Type ``help`` to see the list of available commands 14 * Type ``help`` to see the list of available commands
21 * Note: skydb is currently hard-coded to use ``//out/Debug`` 15 * Note: skydb is currently hard-coded to use ``//out/Debug``
22 16
23 * ``./sky/tools/test_sky --debug`` 17 * ``./sky/tools/test_sky --debug``
(...skipping 16 matching lines...) Expand all
40 * Write tests in [mocha format](http://visionmedia.github.io/mocha/#getting-star ted) and use [chai asserts](http://chaijs.com/api/assert/): 34 * Write tests in [mocha format](http://visionmedia.github.io/mocha/#getting-star ted) and use [chai asserts](http://chaijs.com/api/assert/):
41 ```html 35 ```html
42 describe('My pretty test of my subject', function() { 36 describe('My pretty test of my subject', function() {
43 var subject = new MySubject(); 37 var subject = new MySubject();
44 38
45 it('should be pretty', function() { 39 it('should be pretty', function() {
46 assert.ok(subject.isPretty); 40 assert.ok(subject.isPretty);
47 }); 41 });
48 }); 42 });
49 ``` 43 ```
OLDNEW
« no previous file with comments | « sky/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698