forked from denoland/deno
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add "deno run" subcommand (denoland#2215)
- Loading branch information
1 parent
3608117
commit f6a9d7d
Showing
54 changed files
with
314 additions
and
210 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
args: --reload tests/001_hello.js | ||
args: run --reload tests/001_hello.js | ||
output: tests/001_hello.js.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
args: --reload tests/002_hello.ts | ||
args: run --reload tests/002_hello.ts | ||
output: tests/002_hello.ts.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
args: --reload tests/003_relative_import.ts | ||
args: run --reload tests/003_relative_import.ts | ||
output: tests/003_relative_import.ts.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
args: --reload tests/004_set_timeout.ts | ||
args: run --reload tests/004_set_timeout.ts | ||
output: tests/004_set_timeout.ts.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
args: --reload tests/005_more_imports.ts | ||
args: run --reload tests/005_more_imports.ts | ||
output: tests/005_more_imports.ts.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
args: --reload tests/006_url_imports.ts | ||
args: run --reload tests/006_url_imports.ts | ||
output: tests/006_url_imports.ts.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
args: --reload tests/012_async.ts | ||
args: run --reload tests/012_async.ts | ||
output: tests/012_async.ts.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
args: --allow-read --reload tests/016_double_await.ts | ||
args: run --allow-read --reload tests/016_double_await.ts | ||
output: tests/016_double_await.ts.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
args: --reload tests/017_import_redirect.ts | ||
args: run --reload tests/017_import_redirect.ts | ||
output: tests/017_import_redirect.ts.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
args: --reload tests/018_async_catch.ts | ||
args: run --reload tests/018_async_catch.ts | ||
output: tests/018_async_catch.ts.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
args: --reload tests/019_media_types.ts | ||
args: run --reload tests/019_media_types.ts | ||
output: tests/019_media_types.ts.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
args: --reload tests/020_json_modules.ts | ||
args: run --reload tests/020_json_modules.ts | ||
output: tests/020_json_modules.ts.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
args: --reload tests/021_mjs_modules.ts | ||
args: run --reload tests/021_mjs_modules.ts | ||
output: tests/021_mjs_modules.ts.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
args: --reload tests/023_no_ext_with_headers | ||
args: run --reload tests/023_no_ext_with_headers | ||
output: tests/023_no_ext_with_headers.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
args: --reload tests/024_import_no_ext_with_headers.ts | ||
args: run --reload tests/024_import_no_ext_with_headers.ts | ||
output: tests/024_import_no_ext_with_headers.ts.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
args: --allow-high-precision --reload tests/025_high_precision.ts | ||
args: run --allow-high-precision --reload tests/025_high_precision.ts | ||
output: tests/025_high_precision.ts.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
args: --reload tests/025_reload_js_type_error.js | ||
args: run --reload tests/025_reload_js_type_error.js | ||
output: tests/025_reload_js_type_error.js.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
args: --reload tests/026_redirect_javascript.js | ||
args: run --reload tests/026_redirect_javascript.js | ||
output: tests/026_redirect_javascript.js.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
args: --reload tests/026_workers.ts | ||
args: run --reload tests/026_workers.ts | ||
output: tests/026_workers.ts.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
args: --reload tests/027_redirect_typescript.ts | ||
args: run --reload tests/027_redirect_typescript.ts | ||
output: tests/027_redirect_typescript.ts.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
args: --reload tests/028_args.ts --arg1 val1 --arg2=val2 -- arg3 arg4 | ||
args: run --reload tests/028_args.ts --arg1 val1 --arg2=val2 -- arg3 arg4 | ||
output: tests/028_args.ts.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
exit_code: 1 | ||
args: --reload tests/async_error.ts | ||
args: run --reload tests/async_error.ts | ||
check_stderr: true | ||
output: tests/async_error.ts.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
args: tests/circular1.js --reload | ||
args: run --reload tests/circular1.js | ||
output: tests/circular1.js.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
args: --reload --config tests/config.tsconfig.json tests/config.ts | ||
args: run --reload --config tests/config.tsconfig.json tests/config.ts | ||
check_stderr: true | ||
exit_code: 1 | ||
output: tests/config.ts.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
args: --reload tests/error_001.ts | ||
args: run --reload tests/error_001.ts | ||
check_stderr: true | ||
exit_code: 1 | ||
output: tests/error_001.ts.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
args: --reload tests/error_002.ts | ||
args: run --reload tests/error_002.ts | ||
check_stderr: true | ||
exit_code: 1 | ||
output: tests/error_002.ts.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
args: --reload tests/error_003_typescript.ts | ||
args: run --reload tests/error_003_typescript.ts | ||
exit_code: 1 | ||
output: tests/error_003_typescript.ts.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
args: tests/error_004_missing_module.ts --reload | ||
args: run --reload tests/error_004_missing_module.ts | ||
check_stderr: true | ||
exit_code: 1 | ||
output: tests/error_004_missing_module.ts.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
args: tests/error_005_missing_dynamic_import.ts --reload | ||
args: run --reload tests/error_005_missing_dynamic_import.ts | ||
check_stderr: true | ||
exit_code: 1 | ||
output: tests/error_005_missing_dynamic_import.ts.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
args: tests/error_006_import_ext_failure.ts --reload | ||
args: run --reload tests/error_006_import_ext_failure.ts | ||
check_stderr: true | ||
exit_code: 1 | ||
output: tests/error_006_import_ext_failure.ts.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
args: --reload tests/error_007_any.ts | ||
args: run --reload tests/error_007_any.ts | ||
check_stderr: true | ||
exit_code: 1 | ||
output: tests/error_007_any.ts.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
args: --reload tests/error_008_checkjs.js | ||
args: run --reload tests/error_008_checkjs.js | ||
check_stderr: true | ||
exit_code: 1 | ||
output: tests/error_008_checkjs.js.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
args: --reload tests/error_syntax.js | ||
args: run --reload tests/error_syntax.js | ||
check_stderr: true | ||
exit_code: 1 | ||
output: tests/error_syntax.js.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
exit_code: 42 | ||
args: --reload tests/exit_error42.ts | ||
args: run --reload tests/exit_error42.ts | ||
output: tests/exit_error42.ts.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
args: --reload tests/https_import.ts | ||
args: run --reload tests/https_import.ts | ||
output: tests/https_import.ts.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
args: --reload tests/if_main.ts | ||
args: run --reload tests/if_main.ts | ||
output: tests/if_main.ts.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
args: --reload tests/import_meta.ts | ||
args: run --reload tests/import_meta.ts | ||
output: tests/import_meta.ts.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
args: --reload tests/unbuffered_stderr.ts | ||
args: run --reload tests/unbuffered_stderr.ts | ||
check_stderr: true | ||
output: tests/unbuffered_stderr.ts.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
args: --reload tests/unbuffered_stdout.ts | ||
args: run --reload tests/unbuffered_stdout.ts | ||
output: tests/unbuffered_stdout.ts.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
args: --v8-flags=--expose-gc tests/v8_flags.js | ||
args: run --v8-flags=--expose-gc tests/v8_flags.js | ||
output: tests/v8_flags.js.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
args: tests/wasm.ts | ||
output: tests/wasm.ts.out | ||
args: run tests/wasm.ts | ||
output: tests/wasm.ts.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters