-
Notifications
You must be signed in to change notification settings - Fork 205
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
manifest file name based on project breaks validate-xml #99
Comments
Shall I fix it @andrewconnell or do you want to pick it up? |
It's not "broken"... it doesn't assume the XML file you want to test. It requires you to pass in an option that specifies the file you want to test (in case you have multiple in the same folder. |
Is there a way to run a help command that gives more information on the gulp task to make that more obvious? and also add this to the readme page too then? |
As is now? No... generally people just comment gulp tasks using JSDoc (which we've done... granted the An enhancement could be done to use the gulp-help plugin, but requires rework of our gulp tasks (should be done to the generator & generated projects. You can see an example of the output I generate for my projects in the screenshot here: http://www.andrewconnell.com/blog/dynamically-loading-gulp-tasks-for-simplified-reuse-and-maintenance |
We could also fix the default behavior to look for |
Right that's what I changed it to... To require dev to pass it in. That's not a big deal IMHO... |
Check. I thought the task would automatically look for any Using gulp-help would be definitely a good way of documenting the different tasks particularly the ones that accept parameters such as validate-xml. |
Let's not have multiple discussions in this thread... Two issues discussed here. Can add an enhancement for the task to try to find a manifest in the current folder... Personally I don't like this because what if the manifest is in a sub folder? Can run gulp from the sub folder... So I'd require you pass a path to it. As for gulp-help issue, spin up another issue as an enhancement to the generator. |
Where are we on this... the validate-xml for the manifest. Is it fine as is? Can we close this? |
My suggestion: check for |
I’d amend to say _if there isn’t exactly one |
Yes, good idea @andrewconnell |
Now that the manifest name is dynamic, validate-xml breaks because its looking for manifest.xml. @waldekmastykarz @andrewconnell
The text was updated successfully, but these errors were encountered: