Permalink
Browse files

Making minor tweaks to the "gruntfile" init task, and updating docs.

  • Loading branch information...
1 parent 7052906 commit 91d668c362c8eb0335aba59618d7dc6ceb47a2e8 @cowboy committed Mar 27, 2012
Showing with 3 additions and 1 deletion.
  1. +2 −0 docs/task_init.md
  2. +1 −1 tasks/init/gruntfile.js
View
@@ -24,6 +24,8 @@ Generated via `grunt init:gruntfile`, this customizable template creates a singl
If your code is DOM-related, [QUnit unit tests](task_qunit.md) will be used, otherwise Nodeunit unit tests will be used. Where appropriate, predefined [lint](task_lint.md), [concat](task_concat.md) and [minification](task_min.md) tasks are generated. Also, depending on the library used, JSHint globals may be predefined (just `jQuery` for now).
+**You will most likely need to edit the generated grunt.js file before running `grunt`. If you run grunt after generating grunt.js, and it exits with errors, edit the grunt.js file!**
+
_See an [example repo](https://github.com/cowboy/grunt-gruntfile-example/tree/HEAD~1) generated by this template along with the [creation transcript](https://github.com/cowboy/grunt-gruntfile-example/blob/master/README.md)._
### commonjs
@@ -14,7 +14,7 @@ exports.description = 'Create a basic grunt.js gruntfile.';
exports.notes = 'This template tries to guess file and directory paths, but ' +
'you will most likely need to edit the generated grunt.js file before ' +
'running grunt. _If you run grunt after generating grunt.js, and grunt ' +
- 'exits with errors, edit the grunt.js file._';
+ 'exits with errors, edit the grunt.js file!_';
// Any existing file matching this wildcard will cause a warning.
exports.warnOn = 'grunt.js';

0 comments on commit 91d668c

Please sign in to comment.