From 4c698193af1edf880ba10cc48c83443d11d8e2ec Mon Sep 17 00:00:00 2001 From: Tim Lancina Date: Thu, 4 Feb 2016 13:15:36 -0600 Subject: [PATCH] chore(package): make package an independent task --- gulpfile.js | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 7cf32f24ad..4aacab73e9 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -420,16 +420,7 @@ gulp.task('copy.libs', function() { return merge([webAnimations, libs]); }) -gulp.task('src', function(done){ - runSequence( - 'clean', - 'copy.libs', - ['bundle', 'sass', 'fonts', 'copy.scss'], - done - ); -}); - -gulp.task('src.release', function(done) { +gulp.task('src', function(done) { IS_RELEASE = true; runSequence( 'clean', @@ -439,7 +430,7 @@ gulp.task('src.release', function(done) { ); }); -gulp.task('package', ['src.release'], function(done){ +gulp.task('package', function(done){ var _ = require('lodash'); var fs = require('fs'); var distDir = 'dist'; @@ -502,7 +493,7 @@ gulp.task('prepare', function(){ }); -gulp.task('prerelease', ['prepare'], function(done){ +gulp.task('prerelease', ['prepare', 'src'], function(done){ runSequence('package', done); });