-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
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
Decide whether to support cmd.exe or not #85
Comments
Using of UNIX features within myke config files is not a good idea in case of cross platform compatibility. The Windows shell works simply completely different and use different syntax.
Windows similar variant (nut not equal):
Generally the CMD of windows uses
This works similar. Could only be that this does not work 100% well we need tests that shows the expected and currently failing behavior. Generally I propose the following:
...because the target should be to have a platform and system specific independent tool. Also specific differences in *nix system can lead to poor user experience in using such tool. |
Yep @blaubaer it already takes a certain amount of knowledge to make a script work with both
We'll definitely get the semantics better (this is not a suggestion), but you get the overall gist :) This can be solved with templating, rather than trying to parse scripts and warn people on differences between /bin/sh, /bin/bash and cmd.exe, which will be a HUGE work of going through all these shell standards, and writing parsers for that. |
Closing to release |
cmd.exe
support was recently contributed, thanks to @blaubaer. But we are discovering that there is more specifics involved:$(command ...)
)$VAR
,${VAR}
,${VAR:-default}
, etc)sh
"standard" expectations that we miss?Keeping this issue open and 1.0.0 release on hold until this is decided.
The text was updated successfully, but these errors were encountered: