From 4ab099864a19bc91b50122853b6dc1808466d443 Mon Sep 17 00:00:00 2001 From: Dmitriy Simushev Date: Wed, 17 Sep 2014 13:59:36 +0000 Subject: [PATCH] Add prepare-release task for consistency --- gulpfile.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index cc209d9..446ba49 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -17,8 +17,7 @@ gulp.task('bower', function(callback) { }); }); -// Builds and packs plugins sources -gulp.task('default', ['bower'], function() { +gulp.task('prepare-release', ['bower'], function() { var version = require('./package.json').version; return eventStream.merge( @@ -32,6 +31,11 @@ gulp.task('default', ['bower'], function() { .pipe(gulp.dest('release')); }); +// Builds and packs plugins sources +gulp.task('default', ['prepare-release'], function() { + // The "default" task is just an alias for "prepare-release" task. +}); + /** * Returns files stream with the plugin sources. *