summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-07-26 20:15:55 -0400
committerRyan Dahl <ry@tinyclouds.org>2018-07-29 00:24:16 -0400
commitdb65c723ae9c4e765e30a05ed6c96f04754dc3f1 (patch)
tree4043f0f7cfc0d4bb51bbc38f6f6c9316282f3602 /README.md
parent604a8a640cf1f825218fdb5b23351cd46fc56747 (diff)
Rename run_hooks.py to setup.py
Moves 'gn gen' into setup.py Make tools/build.py more ergonomic.
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/README.md b/README.md
index e8a2f8b17..bd09c63b0 100644
--- a/README.md
+++ b/README.md
@@ -76,9 +76,9 @@ To build:
# Fetch deps.
git clone --recurse-submodules https://github.com/ry/deno.git
cd deno
- ./tools/run_hooks.py
+ ./tools/setup.py
- # Build
+ # Build.
./tools/build.py
# Run
@@ -89,7 +89,7 @@ Other useful commands:
# Call ninja manually.
./third_party/depot_tools/ninja -C out/debug :all
# Build a release binary.
- ./tools/build.py --mode=release :deno
+ DENO_BUILD_MODE=release ./tools/build.py :deno
# List executable targets.
./third_party/depot_tools/gn ls out/debug //:* --as=output --type=executable
# List build configuation.
@@ -100,3 +100,4 @@ Other useful commands:
./third_party/depot_tools/gn desc out/debug/ :deno
./third_party/depot_tools/gn help
+Env vars: `DENO_BUILD_MODE`, `DENO_BUILD_PATH`, `DENO_BUILD_ARGS`.