-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Improve shell script arguments handling #33
Comments
Can you prepare some good test case, that would reproduce that on my side? I haven't seen issues using |
I created a test: https://github.com/fluidblue/webmake-test When you execute
|
@fluidblue thanks. Issue lies in your build script, you call: Thing is that it should be I'll rename this issue, to "Improve shell script arguments handling", and leave it open until we have it more bulletproof so such errors doesn't come as unnoticed. |
Ah I see. Now it works. It is a little bit confusing, that the sourceMap option is --sourcemap on the commandline whereas ignoreErrors is --ignore-errors It might be helpful to include the commandline equivalents in the options documentation. |
@fluidblue that's true, it's not consistent. I'll probably fix this and assure consistency from v0.4 |
please update the docs with examples of how to use the command line args. it's not obvious that the args should be used in the way you describe in this issue. i've run into this issue as well, but with different arguments ( |
@boxxxie in documentation, there's a command line name for each option provided: https://github.com/medikoo/modules-webmake#options, e.g.: How would you improve it? |
examples, like how man files give a few examples of command use. in this case, i have no idea how to use |
@boxxxie this falls into general knowledge on construction of CLI params. Follow: https://betterdev.blog/command-line-arguments-anatomy-explained/ |
When switching on ignoreErrors with --ignoreerrors, an ENOENT error occurs.
Without the --ignoreerrors, everything is working fine.
Example:
results in
The text was updated successfully, but these errors were encountered: