mirror of
https://github.com/denoland/deno.git
synced 2024-12-13 11:02:19 -05:00
318dd3cbc3
This commit adds `--eval` flag to `deno task` subcommand. This flag allows to evaluate provided "task name" as a task itself, effectively allowing to use `deno_task_shell` from the command line. Also fixes shebang parsing for `node_modules/.bin/` entries to handle `#!/usr/bin/node -S node` in addition to `#!/usr/bin/node node`. Closes https://github.com/denoland/deno/issues/26918
9 lines
137 B
JSON
9 lines
137 B
JSON
{
|
|
"name": "bin_package",
|
|
"devDependencies": {
|
|
"@denotest/bin": "1.0.0"
|
|
},
|
|
"scripts": {
|
|
"sayhi": "cli-esm hi hello"
|
|
}
|
|
}
|