mise à jour du gulpfile pour grillade.css

This commit is contained in:
Raphael Goetter 2016-02-12 16:23:20 +01:00
parent c6fd1278eb
commit 4a5dd0f5bd
5 changed files with 14 additions and 546 deletions

View file

@ -24,7 +24,7 @@ gulp.task('css', function () {
.pipe(gulp.dest('./css/'));
});
gulp.task('grillade-less', function() {
gulp.task('grillade', function() {
return gulp.src(['./less/_00-config.less', './less/_03-grids.less'])
.pipe(concat('grillade.less'))
.pipe(gulp.dest('./css/'))
@ -33,17 +33,11 @@ gulp.task('grillade-less', function() {
.pipe(minifycss())
.pipe(gulp.dest('./css/'));
});
gulp.task('grillade-sass', function() {
return gulp.src(['./sass/_00-config.scss', './sass/_03-grids.scss'])
.pipe(concat('grillade.scss'))
.pipe(gulp.dest('./css/'));
});
// Watcher
gulp.task('watch', function() {
gulp.watch(['./less/*.less'], ['css']);
});
gulp.task('grillade', ['grillade-less', 'grillade-sass']);
gulp.task('default', ['css']);