summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-07-06 05:49:32 -0400
committerRyan Dahl <ry@tinyclouds.org>2018-07-06 10:46:30 -0400
commit41328d796e440dd52198c8f30111419cbec81d6b (patch)
treebde28992de30e5057da20c4d943ca203ccb62902
parent179eeb2b50ca49e9ff090e51f8c9f0d2b002cad5 (diff)
Improve README
-rw-r--r--README.md12
1 files changed, 8 insertions, 4 deletions
diff --git a/README.md b/README.md
index a15e376ac..ec6386a58 100644
--- a/README.md
+++ b/README.md
@@ -71,7 +71,7 @@ You need [yarn](https://yarnpkg.com/lang/en/docs/install/) installed.
You need [rust](https://www.rust-lang.org/en-US/install.html) installed.
-You need [ccache](https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/ccache) installed.
+You might want [ccache](https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/ccache) installed.
Fetch the third party dependencies.
@@ -79,6 +79,8 @@ Fetch the third party dependencies.
Generate ninja files.
+ gn gen out/Default
+ gn gen out/Release --args='cc_wrapper="ccache" is_official_build=true'
gn gen out/Debug --args='cc_wrapper="ccache" is_debug=true '
Then build with ninja (will take a while to complete):
@@ -87,6 +89,8 @@ Then build with ninja (will take a while to complete):
Other useful commands:
- gn args out/Debug/ --list # List build args
- gn args out/Debug/ # Modify args in $EDITOR
- gn desc out/Debug/ :deno
+ gn args out/Debug/ --list
+ gn args out/Debug/
+ gn desc out/Debug/ deno
+ gn help
+