1
0
mirror of https://github.com/horst3180/arc-theme.git synced 2024-10-27 19:04:02 +00:00
horst3180_arc-theme/gulpfile.js

21 lines
568 B
JavaScript
Raw Normal View History

2015-07-17 12:34:04 +00:00
var gulp = require("gulp");
var sass = require("gulp-sass");
2016-04-05 14:19:46 +00:00
var rename = require('gulp-rename');
2015-07-17 12:34:04 +00:00
gulp.task('sass', function () {
2016-04-05 14:19:46 +00:00
return gulp.src(['./**/sass/*.scss', '!./node_modules/**/*', '!./m4/**/*'])
2015-07-17 12:34:04 +00:00
.pipe(sass({
outputStyle: 'nested',
precision: 5,
onError: function (err) {
notify().write(err);
}
}))
2016-04-05 14:19:46 +00:00
.pipe(rename(function (path) {
path.dirname += "/../";
}))
.pipe(gulp.dest('./'))
2015-07-17 12:34:04 +00:00
});
gulp.task('default', ['sass']);