0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-04 18:12:59 -05:00
deno/cli
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
..
args fix(check): compiler options from workspace members (#27785) 2025-01-28 10:49:58 -05:00
bench feat(ext/node): implement node:sqlite (#27308) 2025-01-28 19:30:03 +05:30
cache refactor: add WorkspaceFactory and ResolverFactory (#27766) 2025-01-23 18:52:55 -05:00
js refactor: add 'deno_os' crate (#27655) 2025-01-14 17:29:36 +01:00
lib fix(check): compiler options from workspace members (#27785) 2025-01-28 10:49:58 -05:00
lsp fix(lsp): ignore errors on ambient module imports (#27855) 2025-01-30 00:25:32 +00:00
npm perf(node_resolver): reduce url to/from path conversions (#27839) 2025-01-27 15:23:20 -05:00
ops refactor: update deno_core for error refactor (#26867) 2025-01-08 14:52:32 -08:00
rt feat(check/lsp): support "compilerOptions.rootDirs" (#27844) 2025-01-30 00:20:25 +00:00
schemas feat(check/lsp): support "compilerOptions.rootDirs" (#27844) 2025-01-30 00:20:25 +00:00
snapshot chore: fix hmr build (#27781) 2025-01-22 18:00:36 +00:00
standalone feat(check/lsp): support "compilerOptions.rootDirs" (#27844) 2025-01-30 00:20:25 +00:00
tools feat(task): add support for task wildcards (#27007) 2025-01-30 14:37:10 +01:00
tsc fix(lsp): ignore errors on ambient module imports (#27855) 2025-01-30 00:25:32 +00:00
util fix(check): compiler options from workspace members (#27785) 2025-01-28 10:49:58 -05:00
build.rs refactor(tsc): remove TS program creation during snapshotting (#27797) 2025-01-24 13:06:36 +01:00
Cargo.toml fix(check): compiler options from workspace members (#27785) 2025-01-28 10:49:58 -05:00
cdp.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
clippy.toml refactor: do not use deno_fs::FileSystem everywhere (#27508) 2024-12-31 11:29:07 -05:00
deno.ico
emit.rs fix(check): compiler options from workspace members (#27785) 2025-01-28 10:49:58 -05:00
entitlements.plist chore: start codesigning mac release builds (#21303) 2023-11-23 15:30:26 -07:00
factory.rs feat(check/lsp): support "compilerOptions.rootDirs" (#27844) 2025-01-30 00:20:25 +00:00
file_fetcher.rs fix(check): compiler options from workspace members (#27785) 2025-01-28 10:49:58 -05:00
graph_container.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
graph_util.rs fix(check): compiler options from workspace members (#27785) 2025-01-28 10:49:58 -05:00
http_util.rs refactor: move denort to separate crate (#27688) 2025-01-17 20:39:29 +00:00
integration_tests_runner.rs refactor: move denort to separate crate (#27688) 2025-01-17 20:39:29 +00:00
js.rs refactor: move denort to separate crate (#27688) 2025-01-17 20:39:29 +00:00
jsr.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
main.rs refactor: add WorkspaceFactory and ResolverFactory (#27766) 2025-01-23 18:52:55 -05:00
module_loader.rs fix(check): compiler options from workspace members (#27785) 2025-01-28 10:49:58 -05:00
node.rs refactor: add WorkspaceFactory and ResolverFactory (#27766) 2025-01-23 18:52:55 -05:00
README.md docs(cli): do not need gen doc for cli (#17260) 2023-01-04 13:19:58 +01:00
resolver.rs refactor: add WorkspaceFactory and ResolverFactory (#27766) 2025-01-23 18:52:55 -05:00
task_runner.rs refactor: add 'deno_os' crate (#27655) 2025-01-14 17:29:36 +01:00
worker.rs refactor: move denort to separate crate (#27688) 2025-01-17 20:39:29 +00:00

Deno CLI Crate

crates

This provides the actual deno executable and the user-facing APIs.

The deno crate uses the deno_core to provide the executable.