Skip to content
This repository has been archived by the owner on Mar 26, 2018. It is now read-only.

Commit

Permalink
fix(gulp): add default task
Browse files Browse the repository at this point in the history
  • Loading branch information
stevemao committed Aug 19, 2015
1 parent 8122695 commit 5af573c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions templates/common/root/_gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,12 +164,6 @@ gulp.task('bower', function () {
// Build //
///////////

gulp.task('build', function (callback) {
runSequence('clean:dist',
['images', 'copy:extras', 'copy:fonts', 'client:build'],
callback);
});

gulp.task('clean:dist', function () {
rimraf('./dist', cb);
});
Expand Down Expand Up @@ -218,3 +212,9 @@ gulp.task('copy:fonts', function () {
return gulp.src(yeoman.app + '/fonts/**/*')
.pipe(gulp.dest(yeoman.dist + '/fonts'));
});

gulp.task('build', ['clean:dist'], function () {
runSequence(['images', 'copy:extras', 'copy:fonts', 'client:build');
});

gulp.task('default', ['build']);

0 comments on commit 5af573c

Please sign in to comment.