From a7c8bb1596411f91e20ddd5cd54c9dbd055d1059 Mon Sep 17 00:00:00 2001 From: Yazan AbdAl-Rahman Date: Tue, 20 Aug 2024 21:38:06 +0300 Subject: feat: glob and directory support for `deno check` and `deno cache` cli arg paths (#25001) Closes #24668 Closes #20813 --------- Co-authored-by: David Sherret --- tests/specs/cache/globbing/__test__.jsonc | 5 +++++ tests/specs/cache/globbing/excluded.tsx | 1 + tests/specs/cache/globbing/main.ts | 1 + 3 files changed, 7 insertions(+) create mode 100644 tests/specs/cache/globbing/__test__.jsonc create mode 100644 tests/specs/cache/globbing/excluded.tsx create mode 100644 tests/specs/cache/globbing/main.ts (limited to 'tests/specs/cache') diff --git a/tests/specs/cache/globbing/__test__.jsonc b/tests/specs/cache/globbing/__test__.jsonc new file mode 100644 index 000000000..9bf210bb4 --- /dev/null +++ b/tests/specs/cache/globbing/__test__.jsonc @@ -0,0 +1,5 @@ +{ + "args": "cache *.ts", + "output": "Download http://localhost:4545/echo.ts\n", + "exitCode": 0 +} diff --git a/tests/specs/cache/globbing/excluded.tsx b/tests/specs/cache/globbing/excluded.tsx new file mode 100644 index 000000000..b21a330c7 --- /dev/null +++ b/tests/specs/cache/globbing/excluded.tsx @@ -0,0 +1 @@ +import "http://localhost:4545/non-existent.ts"; diff --git a/tests/specs/cache/globbing/main.ts b/tests/specs/cache/globbing/main.ts new file mode 100644 index 000000000..fe4964118 --- /dev/null +++ b/tests/specs/cache/globbing/main.ts @@ -0,0 +1 @@ +import "http://localhost:4545/echo.ts"; -- cgit v1.2.3