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

Unified Diff: sky/HACKING.md

Issue 693163003: Add instructions for building Release to HACKING.md (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/HACKING.md
diff --git a/sky/HACKING.md b/sky/HACKING.md
index 65f881100785f80b3e58ef78fe0aca28927f910b..63f4248397b9130c4797d3ebaa6cd6a682a1ed16 100644
--- a/sky/HACKING.md
+++ b/sky/HACKING.md
@@ -5,7 +5,12 @@ Building
--------
* Follow the setup & build instructions for [Mojo](https://github.com/domokit/mojo)
-* Build ``sky`` with ``ninja``, e.g. ``ninja -C out/Debug sky``
+* Build ``sky`` with ``ninja``, e.g. ``ninja -C out/Debug sky`` for a debug build.
+
+If you want to build release, run the following commands:
+
+* ``gn gen out/Release --args="is_debug=false"``
+* ``ninja -C out/Release sky``
Running applications
--------------------
@@ -13,9 +18,11 @@ Running applications
* ``./sky/tools/skydb [url]``
* You should see a ``(skydb)`` prompt
* Type ``help`` to see the list of available commands
+ * Note: skydb is currently hard-coded to use ``//out/Debug``
* ``./sky/tools/test_sky --debug``
- * This should run the tests
+ * This runs the tests against ``//out/Debug``. If you want to run against
+ ``//out/Release``, omit the ``--debug`` flag.
Running tests manually
----------------------
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698