mirror of
https://github.com/denoland/deno.git
synced 2024-12-27 01:29:14 -05:00
b15f9e60a0
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
13 lines
601 B
JSON
13 lines
601 B
JSON
{
|
|
"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 🔥"
|
|
}
|
|
}
|