diff --git a/.gitignore b/.gitignore index ecf32cc69..5ff2d7f41 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ /bower_components /node_modules +/temp /.idea /.tmp .DS_Store diff --git a/gulpfile.js b/gulpfile.js index f431d17c3..3aa1b5493 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -28,7 +28,7 @@ gulp.task('watch', ['build','karma-watch'], function() { }); gulp.task('clean', function(cb) { - del(['dist'], cb); + del(['dist', 'temp'], cb); }); gulp.task('scripts', ['clean'], function() { @@ -51,6 +51,7 @@ gulp.task('scripts', ['clean'], function() { .pipe($.concat('select_without_templates.js')) .pipe($.header('(function () { \n"use strict";\n')) .pipe($.footer('\n}());')) + .pipe(gulp.dest('temp')) .pipe($.jshint()) .pipe($.jshint.reporter('jshint-stylish')) .pipe($.jshint.reporter('fail'));