diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2019-10-04 14:49:32 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-04 14:49:32 -0400 |
commit | ddcad56ee9bc762171fd88585fd7ab3e3da19e1e (patch) | |
tree | d0c308fc91514a3327266a57a252c4e46122ac6b /tools | |
parent | eecb4fea26aa3d1cddef1bb44ed3500d2b4dd477 (diff) |
Move deno_std to a more convenient location. (#3057)
js/deps/https/deno.land/std -> js/std
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/benchmark.py | 4 | ||||
-rw-r--r-- | tools/deno_http_proxy.ts | 5 | ||||
-rwxr-xr-x | tools/http_benchmark.py | 3 |
3 files changed, 4 insertions, 8 deletions
diff --git a/tools/benchmark.py b/tools/benchmark.py index 138135a98..7d812daf3 100755 --- a/tools/benchmark.py +++ b/tools/benchmark.py @@ -211,8 +211,8 @@ def run_http(build_dir, new_data): def bundle_benchmark(deno_exe): bundles = { - "file_server": "./js/deps/https/deno.land/std/http/file_server.ts", - "gist": "./js/deps/https/deno.land/std/examples/gist.ts", + "file_server": "./std/http/file_server.ts", + "gist": "./std/examples/gist.ts", } sizes = {} diff --git a/tools/deno_http_proxy.ts b/tools/deno_http_proxy.ts index d7a5dda2d..728e4fd3f 100644 --- a/tools/deno_http_proxy.ts +++ b/tools/deno_http_proxy.ts @@ -1,8 +1,5 @@ // Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. -import { - serve, - ServerRequest -} from "../js/deps/https/deno.land/std/http/server.ts"; +import { serve, ServerRequest } from "../std/http/server.ts"; const addr = Deno.args[1] || "127.0.0.1:4500"; const originAddr = Deno.args[2] || "127.0.0.1:4501"; diff --git a/tools/http_benchmark.py b/tools/http_benchmark.py index ecb846179..4f2c768fd 100755 --- a/tools/http_benchmark.py +++ b/tools/http_benchmark.py @@ -55,8 +55,7 @@ def deno_tcp_current_thread(deno_exe): def deno_http(deno_exe): port = get_port() deno_cmd = [ - deno_exe, "run", "--allow-net", - "js/deps/https/deno.land/std/http/http_bench.ts", + deno_exe, "run", "--allow-net", "std/http/http_bench.ts", server_addr(port) ] print "http_benchmark testing DENO using net/http." |