Skip to content

Commit

Permalink
feat(gen): add Gulp support
Browse files Browse the repository at this point in the history
add an option to use Gulp instead of Grunt

Closes yeoman#672
  • Loading branch information
hermansje committed Sep 3, 2014
1 parent 479c6a9 commit 776d125
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ gulp.task('lint:scripts', function () {
});

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

gulp.task('start:client', ['start:server', <% if (coffee) { %>'coffee', <% } %>'styles'], function () {
Expand Down Expand Up @@ -170,7 +170,7 @@ gulp.task('build', function (callback) {
});

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

gulp.task('client:build', ['html', 'styles'], function () {
Expand All @@ -180,7 +180,7 @@ gulp.task('client:build', ['html', 'styles'], function () {
return gulp.src(paths.views.main)
.pipe($.useref.assets({searchPath: [yeoman.app, '.tmp']}))
.pipe(jsFilter)
.pipe($.ngmin())
.pipe($.ngAnnotate())
.pipe($.uglify())
.pipe(jsFilter.restore())
.pipe(cssFilter)
Expand Down

0 comments on commit 776d125

Please sign in to comment.