grillade.less et grillade.scss

This commit is contained in:
Raphael Goetter 2015-12-24 11:16:13 +01:00
parent f35237dcbe
commit b50a9b84b5
5 changed files with 792 additions and 3 deletions

View file

@ -24,18 +24,26 @@ gulp.task('css', function () {
.pipe(gulp.dest('./css/'));
});
gulp.task('grillade', function() {
gulp.task('grillade-less', function() {
return gulp.src(['./less/_00-config.less', './less/_03-grids.less'])
.pipe(concat('grillade.less'))
.pipe(gulp.dest('./css/'))
.pipe(less())
.pipe(autoprefixer())
.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']);