@@ -56,13 +56,13 @@ gulp.task('cover', function () {
5656 . pipe ( plugins . istanbul . hookRequire ( ) ) ;
5757} ) ;
5858
59- gulp . task ( 'test' , [ 'cover' ] , function ( ) {
59+ gulp . task ( 'test' , gulp . series ( 'cover' , function ( ) {
6060 return gulp . src ( 'test/unit/*.js' )
6161 . pipe ( plugins . mocha ( {
6262 grep : argv . grep
6363 } ) )
6464 . pipe ( plugins . istanbul . writeReports ( ) ) ;
65- } ) ;
65+ } ) ) ;
6666
6767gulp . task ( 'karma' , function ( cb ) {
6868 new Server ( {
@@ -92,7 +92,7 @@ gulp.task('karma', function (cb) {
9292 } , cb ) . start ( ) ;
9393} ) ;
9494
95- gulp . task ( 'smoke' , [ 'bundle-smoke' ] , function ( cb ) {
95+ gulp . task ( 'smoke' , gulp . series ( 'bundle-smoke' , function ( cb ) {
9696 new Server ( {
9797 frameworks : [ 'mocha' , 'chai' ] ,
9898 browsers : [ 'PhantomJS' ] ,
@@ -111,7 +111,7 @@ gulp.task('smoke', ['bundle-smoke'], function (cb) {
111111 autoWatch : false ,
112112 singleRun : true
113113 } , cb ) . start ( ) ;
114- } ) ;
114+ } ) ) ;
115115
116116gulp . task ( 'lint' , function ( ) {
117117 return gulp . src ( [ './gulpfile.js' , './src/**/*.js' , './test/**/*.js' ] )
@@ -129,7 +129,7 @@ gulp.task('bump', function () {
129129 . pipe ( gulp . dest ( './' ) ) ;
130130} ) ;
131131
132- gulp . task ( 'release' , [ 'bundle' , 'bump' ] , function ( ) {
132+ gulp . task ( 'release' , gulp . series ( 'bundle' , 'bump' , function ( ) {
133133 var versionString = 'v' + version ( ) ;
134134 var message = 'Release ' + versionString ;
135135 return plugins . shell . task ( [
@@ -140,4 +140,4 @@ gulp.task('release', ['bundle', 'bump'], function () {
140140 'git push' ,
141141 'git push --tags'
142142 ] ) ( ) ;
143- } ) ;
143+ } ) ) ;
0 commit comments