Open
Description
Some commands work the same on all Unixes and only Windows is different. How do I specify such commands via cross-os?
I can see two options – both would be useful.
Option 1: "*"
works the same as default
in JavaScript’s switch
statement:
"cross-os": {
"chmodux": {
"win32": "",
"*": "chmod u+x main.js"
}
}
Option2: Allow multiple comma-separated values:
"cross-os": {
"chmodux": {
"win32": "",
"darwin,freebsd,linux,sunos": "chmod u+x main.js"
}
}
Metadata
Metadata
Assignees
Labels
No labels