summaryrefslogtreecommitdiff
path: root/website
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-03-18 21:24:12 -0400
committerRyan Dahl <ry@tinyclouds.org>2019-03-19 03:50:47 -0400
commit8f3d0ca6649236434ee7a795f5a2cea114d44847 (patch)
tree354ebf022b82534795a5fb7d8ea5c78e0ed4bb01 /website
parentcdfd32dd74d6286afe99fb5400e3dc0e9f2cec49 (diff)
Deprecate DENO_BUILD_MODE=release
Instead use: tools/build.py --release
Diffstat (limited to 'website')
-rw-r--r--website/manual.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/website/manual.md b/website/manual.md
index e5104e605..8d0dacabc 100644
--- a/website/manual.md
+++ b/website/manual.md
@@ -176,7 +176,7 @@ Extra steps for Windows users:
./third_party/depot_tools/ninja -C target/debug
# Build a release binary.
-DENO_BUILD_MODE=release ./tools/build.py :deno
+./tools/build.py --release deno
# List executable targets.
./third_party/depot_tools/gn ls target/debug //:* --as=output --type=executable
@@ -622,9 +622,8 @@ To start profiling,
```sh
# Make sure we're only building release.
-export DENO_BUILD_MODE=release
# Build deno and V8's d8.
-./tools/build.py d8 deno
+./tools/build.py --release d8 deno
# Start the program we want to benchmark with --prof
./target/release/deno tests/http_bench.ts --allow-net --prof &
# Exercise it.