diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2019-04-21 17:34:18 +0200 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-04-21 11:34:18 -0400 |
commit | cd19da62d9efe37566fdeff16e37ed066edd3e3a (patch) | |
tree | cefe352b922bf50395c16b525ea6276d2dfdfd49 /tools | |
parent | c08075053f16e8c799c2132373a2deb6e896a9e9 (diff) |
Refactor CLI entry point (#2157)
Changes "deno --types" to "deno types"
and "deno --prefetch" to "deno prefetch"
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/docs.py | 2 | ||||
-rwxr-xr-x | tools/prefetch_test.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/docs.py b/tools/docs.py index bbc06877c..8daac46de 100755 --- a/tools/docs.py +++ b/tools/docs.py @@ -11,7 +11,7 @@ os.chdir(root_path) # Builds into target/doc run(["cargo", "doc", "--all", "--no-deps", "-vv"]) -# 'deno --types' is stored in target/debug/gen/cli/lib/lib.deno_runtime.d.ts +# 'deno types' is stored in target/debug/gen/cli/lib/lib.deno_runtime.d.ts # We want to run typedoc on that declaration file only. os.chdir(os.path.join(target_path, "debug/gen/cli/lib/")) diff --git a/tools/prefetch_test.py b/tools/prefetch_test.py index 3024aedf3..9c671dc00 100755 --- a/tools/prefetch_test.py +++ b/tools/prefetch_test.py @@ -13,7 +13,7 @@ def prefetch_test(deno_exe): deno_dir = mkdtemp() try: t = os.path.join(tests_path, "006_url_imports.ts") - output = run_output([deno_exe, "--prefetch", t], + output = run_output([deno_exe, "prefetch", t], merge_env={"DENO_DIR": deno_dir}) assert output == "" # Check that we actually did the prefetch. |