2024-05-23 19:43:38 -04:00
|
|
|
{
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2024-06-06 17:21:25 -04:00
|
|
|
"clobbers_if_already_setup": {
|
2024-05-23 19:43:38 -04:00
|
|
|
"tempDir": true,
|
|
|
|
"steps": [{
|
|
|
|
"commandName": "npm",
|
|
|
|
"args": "install",
|
|
|
|
"output": "\nadded 1 package in [WILDCARD]\n"
|
|
|
|
}, {
|
|
|
|
"if": "unix",
|
|
|
|
"args": "task sayhi",
|
2024-06-06 17:21:25 -04:00
|
|
|
"output": "task.out"
|
2024-05-23 19:43:38 -04:00
|
|
|
}]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|