mirror of
https://github.com/denoland/deno.git
synced 2025-09-25 19:59:16 +00:00
add "deno run" subcommand (#2215)
This commit is contained in:
parent
3608117132
commit
f6a9d7d717
54 changed files with 314 additions and 210 deletions
|
@ -35,7 +35,7 @@ def deno_dir_test(deno_exe, deno_dir):
|
|||
|
||||
|
||||
def run_deno(deno_exe, deno_dir=None):
|
||||
cmd = [deno_exe, "tests/002_hello.ts"]
|
||||
cmd = [deno_exe, "run", "tests/002_hello.ts"]
|
||||
deno_dir_env = {"DENO_DIR": deno_dir} if deno_dir is not None else None
|
||||
run(cmd, quiet=True, env=deno_dir_env)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue