From eb331afdc262ccf9235b4966e8451366d99501e2 Mon Sep 17 00:00:00 2001 From: Jack Lukic Date: Thu, 13 Aug 2015 11:25:06 -0400 Subject: [PATCH] Revert "Fix callback return from build task" --- tasks/build.js | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/tasks/build.js b/tasks/build.js index cd7111895..f70d9c5df 100644 --- a/tasks/build.js +++ b/tasks/build.js @@ -7,7 +7,6 @@ var // config config = require('./config/user'), - runSequence = require('run-sequence'), install = require('./config/project/install') ; @@ -26,20 +25,18 @@ module.exports = function(callback) { return; } - var tasks = []; - // check for right-to-left (RTL) language if(config.rtl == 'both') { - tasks.push('build-rtl'); + gulp.start('build-rtl'); } if(config.rtl === true || config.rtl === 'Yes') { gulp.start('build-rtl'); return; } - tasks.push('build-javascript'); - tasks.push('build-css'); - tasks.push('build-assets'); + gulp.start('build-javascript'); + gulp.start('build-css'); + gulp.start('build-assets'); + - runSequence(tasks, callback); };