From def0afa97b8fcab831e9f45103f6e5bf02619341 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Thu, 2 Oct 2014 13:26:58 +0900 Subject: [PATCH] Handling build deps, ignoring dist and dev files --- .gitignore | 2 ++ client/gulpfile.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 22bccc2..8936e77 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ node_modules bower_components cache +dev +dist diff --git a/client/gulpfile.js b/client/gulpfile.js index 906d666..a9784f6 100644 --- a/client/gulpfile.js +++ b/client/gulpfile.js @@ -75,7 +75,7 @@ gulp.task('html_debug', function() { .pipe(gulp.dest('dev')); }); -gulp.task('html_release', function() { +gulp.task('html_release', ['scripts', 'styles'], function() { var sources = gulp.src(['dist/*.js', 'dist/*.css'], { read: false }); return gulp.src(paths.html) .pipe(inject(sources, { addRootSlash: false, ignorePath: 'dist' }))