From b9ad708f162e65475a71f049c6b6fa38762063f0 Mon Sep 17 00:00:00 2001 From: cueedee Date: Wed, 13 May 2015 14:26:00 +0200 Subject: [PATCH] fix(app generator): comply grunt idiom detail with those in the 'README.md' template --- generators/app/index.js | 5 +++-- generators/app/templates/@Gruntfile.coffee | 9 +++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/generators/app/index.js b/generators/app/index.js index 115bd433..3d7182d0 100644 --- a/generators/app/index.js +++ b/generators/app/index.js @@ -559,8 +559,9 @@ var AppGenerator = generators.Base.extend( + '- does a testing, debugging, all-parts except documentation, as-is build;\n' + chalk.bold( ' * ' + chalk.yellow( 'grunt dev ' )) - + '- does a local, debugging, all-parts except documentation, as-is build; and keeps a close\n' - + ' watch on filesystem changes, selectively re-triggering part builds as needed;\n' + + '- does a local, debugging, all-parts except documentation, as-is build;\n' + + ' (' + chalk.bold( 'Note that this variant doesn\'t exit.' ) + ' Instead, it\'ll keep a close watch on\n' + + ' filesystem changes, selectively re-triggering part builds as needed)\n' + '\n' + chalk.bold( ' * ' + chalk.yellow( 'grunt doc ' )) diff --git a/generators/app/templates/@Gruntfile.coffee b/generators/app/templates/@Gruntfile.coffee index 71eb1b0f..95fd32f2 100644 --- a/generators/app/templates/@Gruntfile.coffee +++ b/generators/app/templates/@Gruntfile.coffee @@ -107,10 +107,11 @@ ## ## Finally, this is how the main grunt commandline tasks are mapped to all of the above: ## -## * grunt [default] - does a production, non-debugging, all-parts, minified build plus artifacts -## * grunt debug - does a testing, debugging, all-parts except documentation, as-is build -## * grunt dev - does a local, debugging, all-parts except documentation, as-is build and keeps a close -## watch on filesystem changes, selectively re-triggering part builds as needed +## * grunt [default] - does a production, non-debugging, all-parts, minified build plus artifacts; +## * grunt debug - does a testing, debugging, all-parts except documentation, as-is build; +## * grunt dev - does a local, debugging, all-parts except documentation, as-is build; +## (Note that this variant doesn't exit. Instead, it'll keep a close watch on +## filesystem changes, selectively re-triggering part builds as needed) ## ## ==== ##