Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Commit

Permalink
chore(gulp): fix travis build
Browse files Browse the repository at this point in the history
  • Loading branch information
mgcrea committed Apr 7, 2014
1 parent 43b97a7 commit 295e37a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions gulpfile.js
Expand Up @@ -34,19 +34,19 @@ var banner = gutil.template('/**\n' +
//
var clean = require('gulp-clean');
gulp.task('clean:dev', function() {
gulp.src(['.tmp/*'], {read: false})
return gulp.src(['.tmp/*'], {read: false})
.pipe(clean());
});
gulp.task('clean:test', function() {
gulp.src(['test/.tmp/*'], {read: false})
return gulp.src(['test/.tmp/*'], {read: false})
.pipe(clean());
});
gulp.task('clean:dist', function() {
gulp.src(['.tmp/*', paths.dist + '/*'], {read: false})
return gulp.src(['.tmp/*', paths.dist + '/*'], {read: false})
.pipe(clean());
});
gulp.task('clean:pages', function() {
gulp.src([paths.pages + '/*', '!' + paths.pages + '/.git'], {read: false})
return gulp.src([paths.pages + '/*', '!' + paths.pages + '/.git'], {read: false})
.pipe(clean());
});

Expand Down Expand Up @@ -163,7 +163,7 @@ gulp.task('templates:dist', function() {
});
gulp.task('templates:test', function() {
// Build individual modules
gulp.src(paths.templates, {cwd: paths.src})
return gulp.src(paths.templates, {cwd: paths.src})
.pipe(htmlmin({removeComments: true, collapseWhitespace: true}))
.pipe(ngtemplate({module: function(src) { return 'mgcrea.ngStrap.' + src.split('/')[0]; }}))
.pipe(ngmin())
Expand Down

0 comments on commit 295e37a

Please sign in to comment.