Skip to content

Commit

Permalink
Making minor tweaks to the "gruntfile" init task, and updating docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
cowboy committed Mar 27, 2012
1 parent 7052906 commit 91d668c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/task_init.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tasks/init/gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 91d668c

Please sign in to comment.