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

Commit 5af573c

Browse files
committed
fix(gulp): add default task
1 parent 8122695 commit 5af573c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

templates/common/root/_gulpfile.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -164,12 +164,6 @@ gulp.task('bower', function () {
164164
// Build //
165165
///////////
166166

167-
gulp.task('build', function (callback) {
168-
runSequence('clean:dist',
169-
['images', 'copy:extras', 'copy:fonts', 'client:build'],
170-
callback);
171-
});
172-
173167
gulp.task('clean:dist', function () {
174168
rimraf('./dist', cb);
175169
});
@@ -218,3 +212,9 @@ gulp.task('copy:fonts', function () {
218212
return gulp.src(yeoman.app + '/fonts/**/*')
219213
.pipe(gulp.dest(yeoman.dist + '/fonts'));
220214
});
215+
216+
gulp.task('build', ['clean:dist'], function () {
217+
runSequence(['images', 'copy:extras', 'copy:fonts', 'client:build');
218+
});
219+
220+
gulp.task('default', ['build']);

0 commit comments

Comments
 (0)