Skip to content

Commit

Permalink
extras task, copies non-html files from app root to dist on build
Browse files Browse the repository at this point in the history
  • Loading branch information
jcsrb authored and kevva committed Apr 24, 2014
1 parent c638112 commit 018bdbd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/templates/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,16 @@ gulp.task('fonts', function () {
.pipe($.size());
});

gulp.task('extras', function () {
return gulp.src(['app/*.*', '!app/*.html'])
.pipe(gulp.dest('dist'));
});

gulp.task('clean', function () {
return gulp.src(['.tmp', 'dist'], { read: false }).pipe($.clean());
});

gulp.task('build', ['html', 'images', 'fonts']);
gulp.task('build', ['html', 'images', 'fonts', 'extras']);

gulp.task('default', ['clean'], function () {
gulp.start('build');
Expand Down

0 comments on commit 018bdbd

Please sign in to comment.