File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -259,12 +259,12 @@ export default class Generator extends Base {
259259 type : 'list' ,
260260 name : 'buildtool' ,
261261 message : 'Would you like to use Gulp (experimental) instead of Grunt?' ,
262- choices : [ 'Grunt' , 'Gulp' , 'Both' ] ,
262+ choices : [ 'Grunt' , 'Gulp (experimental) ' , 'Both' ] ,
263263 default : 0 ,
264264 filter : function ( val ) {
265265 return {
266266 'Grunt' : 'grunt' ,
267- 'Gulp' : 'gulp' ,
267+ 'Gulp (experimental) ' : 'gulp' ,
268268 'Both' : 'grunt_and_gulp'
269269 } [ val ] ;
270270 }
@@ -296,6 +296,16 @@ export default class Generator extends Base {
296296 this . filters . grunt = answers . buildtool === 'grunt' || answers . buildtool === 'grunt_and_gulp' ;
297297 this . filters . gulp = answers . buildtool === 'gulp' || answers . buildtool === 'grunt_and_gulp' ;
298298
299+ if ( this . filters . gulp ) {
300+ this . log ( chalk . red ( `
301+ ################################################################
302+ # NOTE: You have chosen to use the experimental gulp file.
303+ # This build tool is still in the experimental stage, and most
304+ # likely still has many bugs and/or missing features.
305+ # Use at your own risk.
306+ ################################################################` ) ) ;
307+ }
308+
299309 this . filters [ answers . testing ] = true ;
300310 if ( answers . testing === 'mocha' ) {
301311 this . filters . jasmine = false ;
You can’t perform that action at this time.
0 commit comments