0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-21 04:42:51 -05:00
denoland-deno/tests
Marvin Hagemeister c44b05cab5
feat(task): add support for task wildcards (#27007)
This PR adds support for passing wildcard tasks. All matched tasks are
sorted in case they have dependencies. Tasks already in the dependency
tree will be pruned so that every task only runs once.

```json
{
  "tasks": {
    "foo-1": "echo 'foo-1'",
    "foo-2": "echo 'foo-2'"
  }
}
```

```sh
$ deno task "foo-*"
Task foo-1 echo 'foo-1'
foo-1
Task foo-2 echo 'foo-2'
foo-2
```

The changes in the PR look a little bigger than they really are due to
formatting. For the most part, I've only needed to hoist up the task
matching logic.

Closes https://github.com/denoland/deno/issues/26944
Closes https://github.com/denoland/deno/issues/21530

---------

Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2025-01-30 14:37:10 +01:00
..
config chore: use @std prefix for internal module specifiers (#24543) 2024-07-25 10:26:54 +10:00
ffi chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
integration fix(lsp): ignore errors on ambient module imports (#27855) 2025-01-30 00:25:32 +00:00
napi chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
node_compat fix(ext/node): clear tz cache when setting process.env.TZ (#27826) 2025-01-28 18:13:41 +05:30
registry fix(ext/node): do not apply socket-init-workaround to ipc socket (#27779) 2025-01-28 15:38:45 +09:00
specs feat(task): add support for task wildcards (#27007) 2025-01-30 14:37:10 +01:00
testdata fix(check): compiler options from workspace members (#27785) 2025-01-28 10:49:58 -05:00
unit fix(process/windows): correct command resolution when PATH env var not uppercase (#27846) 2025-01-28 10:46:01 -05:00
unit_node fix(ext/node): implement crypto.hash (#27858) 2025-01-29 20:49:43 +05:30
util feat(check/lsp): support "compilerOptions.rootDirs" (#27844) 2025-01-30 00:20:25 +00:00
wpt fix(ext/crypto): export private x25519 JWK key (#27828) 2025-01-27 22:25:00 +05:30
Cargo.toml chore: update ensure_registry_files_local to handle scoped packages (#27801) 2025-01-24 21:47:15 +09:00
lib.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
README.md chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00

Deno Integration Tests