From c8cb320b385c05d7aa76eba3536f84f2d7cec360 Mon Sep 17 00:00:00 2001 From: Amio Date: Tue, 3 Jun 2014 12:51:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=83=A8=E7=BD=B2=E5=91=BD?= =?UTF-8?q?=E4=BB=A4=20gulp=20dist:all?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gulpfile.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 2bcfb4d..d366d99 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -118,7 +118,7 @@ var BUILD_STAMP = ''; gulp.task('html2js', function () { return gulp.src(SOURCE_ROOT + "/partials/*.html") - .pipe($.replace(BUILD_STAMP, 'Build:'+ new Date().toISOString().replace(/-|T.*/g,''))) + .pipe($.replace(BUILD_STAMP, 'Build:' + new Date().toISOString().replace(/-|T.*/g, ''))) .pipe($.ngHtml2js({ moduleName: "toHELL", prefix: "partials/" @@ -151,7 +151,7 @@ gulp.task('copy', function () { // Homepage gulp.src(['app/fonts/**/*']) .pipe(gulp.dest('dist/home/fonts')); - gulp.src(['app/images/intro-*','app/images/un-team.png']) + gulp.src(['app/images/intro-*', 'app/images/un-team.png']) .pipe(gulp.dest('dist/home/images/')); }); @@ -207,6 +207,8 @@ gulp.task('dist', function () { distribution('debug'); }); +gulp.task('dist:all', ['dist', 'dist:ctqa', 'dist:io']); + /** * ===================================== * General Tasks