You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Contribution guidelines should go into contributing.md #5
I think I've got it, I'll summarize and you can tell me if I am wrong :)
The officially supported init templates should all get contribution guidelines added so users end up with a contributing.md file. Looks like the jquery template has it?
I forked all the repos and added a file to root/updated the README template for everything else (jquery already had it). I'll make a PR if that's right.
Some of the guidelines would need to be a little different. Such as only grunt-init-jquery uses phantomjs. grunt-init-node and grunt-init-commonjs generate a lib/ folder (instead of a src and dist). grunt-init-gruntplugin generates a tasks/ folder.
This line:
Open test/*.html unit test file(s) in actual browser to ensure tests pass everywhere.
@shama Yeah, I reworded them a little bit so they were slightly more generic, since they are all pretty similar (except the lib vs tasks directory generation). the run grunt-init node line is actually different for each of the templates. Let me know if this is good and I'll make the PR.
Regarding code style like indentation and whitespace, follow the conventions you see used in the source already.
Modifying the code
First, ensure that you have the latest Node.js and npm installed.
Test that Grunt's CLI is installed by running grunt --version. If the command isn't found, run npm install -g grunt-cli. For more information about installing Grunt, see the getting started guide.
Submitting pull requests
Create a new branch, please don't work in your master branch directly.
Nice Jeremy, looks good. Except I don't know if steps 2, 4 and the wording in 6 will apply to the contributing guide here. As they are intended as a starting point for new projects as opposed to contributing guidelines for the grunt-init projects.
Activity
vladikoff commentedon Nov 27, 2013
Updated the title of this, if anyone wants to work on this comment on this issue. Marked as "needs PR".
jrrickard commentedon Dec 12, 2013
I have some time to work on this.
vladikoff commentedon Dec 18, 2013
@jrrickard Awesome! Let us know if you need any details or help for the pull request :)
jrrickard commentedon Dec 19, 2013
I think I've got it, I'll summarize and you can tell me if I am wrong :)
The officially supported init templates should all get contribution guidelines added so users end up with a contributing.md file. Looks like the jquery template has it?
https://github.com/gruntjs/grunt-init-jquery/blob/master/root/CONTRIBUTING.md
I forked all the repos and added a file to root/updated the README template for everything else (jquery already had it). I'll make a PR if that's right.
vladikoff commentedon Dec 19, 2013
@jrrickard seems right. // @tkellen any feedback regarding this?
shama commentedon Dec 19, 2013
Some of the guidelines would need to be a little different. Such as only grunt-init-jquery uses phantomjs. grunt-init-node and grunt-init-commonjs generate a
lib/folder (instead of asrcanddist). grunt-init-gruntplugin generates atasks/folder.This line:
Would only apply to grunt-init-jquery as well.
Thanks!
jrrickard commentedon Dec 20, 2013
@shama Yeah, I reworded them a little bit so they were slightly more generic, since they are all pretty similar (except the lib vs tasks directory generation). the run
grunt-init nodeline is actually different for each of the templates. Let me know if this is good and I'll make the PR.Contributing
Contribution Guide
See the wiki for the complete contribution guide.
Code style
Regarding code style like indentation and whitespace, follow the conventions you see used in the source already.
Modifying the code
First, ensure that you have the latest Node.js and npm installed.
Test that Grunt's CLI is installed by running
grunt --version. If the command isn't found, runnpm install -g grunt-cli. For more information about installing Grunt, see the getting started guide.Submitting pull requests
masterbranch directly.grunt-init nodeon a new directorynpm installto install all dependenciesgruntto grunt the new template codeshama commentedon Dec 20, 2013
Nice Jeremy, looks good. Except I don't know if steps 2, 4 and the wording in 6 will apply to the contributing guide here. As they are intended as a starting point for new projects as opposed to contributing guidelines for the grunt-init projects.
vladikoff commentedon Jan 20, 2014
@jrrickard could that be updated and sent as a pull request?
jrrickard commentedon Jan 29, 2014
@vladikoff yep, sorry for the delay. I got pretty sick before Christmas. Working on the PR now.
vladikoff commentedon Jan 29, 2014
@jrrickard ah no worries, Hope all is well now! 🎉
auscaster commentedon Mar 30, 2014
@jrrickard are you still working on this?
imjacobclark commentedon Dec 3, 2014
Implemented this change in PR #89, feedback? 😄