File tree 1 file changed +12
-2
lines changed
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 {
259
259
type : 'list' ,
260
260
name : 'buildtool' ,
261
261
message : 'Would you like to use Gulp (experimental) instead of Grunt?' ,
262
- choices : [ 'Grunt' , 'Gulp' , 'Both' ] ,
262
+ choices : [ 'Grunt' , 'Gulp (experimental) ' , 'Both' ] ,
263
263
default : 0 ,
264
264
filter : function ( val ) {
265
265
return {
266
266
'Grunt' : 'grunt' ,
267
- 'Gulp' : 'gulp' ,
267
+ 'Gulp (experimental) ' : 'gulp' ,
268
268
'Both' : 'grunt_and_gulp'
269
269
} [ val ] ;
270
270
}
@@ -296,6 +296,16 @@ export default class Generator extends Base {
296
296
this . filters . grunt = answers . buildtool === 'grunt' || answers . buildtool === 'grunt_and_gulp' ;
297
297
this . filters . gulp = answers . buildtool === 'gulp' || answers . buildtool === 'grunt_and_gulp' ;
298
298
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
+
299
309
this . filters [ answers . testing ] = true ;
300
310
if ( answers . testing === 'mocha' ) {
301
311
this . filters . jasmine = false ;
You can’t perform that action at this time.
0 commit comments