mirror of
https://github.com/denoland/deno.git
synced 2024-12-21 06:44:45 -05:00
47d19461a5
Previously we warned on unix and didn't touch them on windows, now we unconditionally overwrite them. This matches what npm does.
43 lines
1 KiB
Text
43 lines
1 KiB
Text
{
|
|
"tests": {
|
|
"sets_up_bin_dir": {
|
|
"tempDir": true,
|
|
"steps": [
|
|
// {"commandName": "npm", "args": "install", "output": "\nadded 1 package in [WILDCARD]\n"},
|
|
{
|
|
"args": "task sayhi",
|
|
"output": "task.out"
|
|
},
|
|
{
|
|
"if": "unix",
|
|
"commandName": "./node_modules/.bin/cli-esm",
|
|
"args": "hi hello",
|
|
"output": "hi\nhello\n"
|
|
},
|
|
{
|
|
"if": "windows",
|
|
"commandName": "./node_modules/.bin/cli-esm.cmd",
|
|
"args": "hi hello",
|
|
"output": "hi\nhello\n"
|
|
},
|
|
{
|
|
"commandName": "npm",
|
|
"args": "run sayhi",
|
|
"output": "npm-run.out"
|
|
}
|
|
]
|
|
},
|
|
"clobbers_if_already_setup": {
|
|
"tempDir": true,
|
|
"steps": [{
|
|
"commandName": "npm",
|
|
"args": "install",
|
|
"output": "\nadded 1 package in [WILDCARD]\n"
|
|
}, {
|
|
"if": "unix",
|
|
"args": "task sayhi",
|
|
"output": "task.out"
|
|
}]
|
|
}
|
|
}
|
|
}
|