Add prepare-release task for consistency

This commit is contained in:
Dmitriy Simushev 2014-09-17 13:59:36 +00:00
parent ca8723bcf2
commit 4ab099864a

View File

@ -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.
*