We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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:
"*"
default
switch
"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" } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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 asdefault
in JavaScript’sswitch
statement:Option2: Allow multiple comma-separated values:
The text was updated successfully, but these errors were encountered: