mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 04:51:22 +00:00
Improve README
This commit is contained in:
parent
179eeb2b50
commit
41328d796e
12
README.md
12
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user