1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-29 10:39:10 -05:00
denoland-deno/cli/tests/testdata/task/deno_json/task_no_args.out
David Sherret b15f9e60a0
feat(task): support scripts in package.json (#17887)
This is a super basic initial implementation. We don't create a
`node_modules/.bin` folder at the moment and add it to the PATH like we
should which is necessary to make command name resolution in the
subprocess work properly (ex. you run a script that launches another
script that then tries to launch an "npx command"... this won't work
atm).

Closes #17492
2023-02-22 22:45:35 -05:00

19 lines
556 B
Text

Available tasks:
- boolean_logic
sleep 0.1 && echo 3 && echo 4 & echo 1 && echo 2 || echo NOPE
- echo
echo 1
- deno_echo
deno eval 'console.log(5)'
- strings
deno run main.ts && deno eval "console.log(\"test\")"
- piped
echo 12345 | (deno eval 'const b = new Uint8Array(1);Deno.stdin.readSync(b);console.log(b)' && deno eval 'const b = new Uint8Array(1);Deno.stdin.readSync(b);console.log(b)')
- exit_code_5
echo $(echo 10 ; exit 2) && exit 5
- echo_cwd
echo $(pwd)
- echo_init_cwd
echo $INIT_CWD
- echo_emoji
echo 🔥