mirror of
https://github.com/horst3180/arc-theme.git
synced 2024-10-27 19:04:02 +00:00
Removed old gulp file. Now use sassc.
This commit is contained in:
parent
0ec43d5b18
commit
a90389fc01
20
gulpfile.js
20
gulpfile.js
@ -1,20 +0,0 @@
|
|||||||
var gulp = require('gulp');
|
|
||||||
var sass = require('gulp-sass');
|
|
||||||
var rename = require('gulp-rename');
|
|
||||||
|
|
||||||
gulp.task('sass', function () {
|
|
||||||
return gulp.src(['./**/sass/*.scss', '!./node_modules/**/*', '!./m4/**/*'])
|
|
||||||
.pipe(sass({
|
|
||||||
outputStyle: 'nested',
|
|
||||||
precision: 5,
|
|
||||||
onError: function (err) {
|
|
||||||
notify().write(err);
|
|
||||||
}
|
|
||||||
}))
|
|
||||||
.pipe(rename(function (path) {
|
|
||||||
path.dirname += '/../';
|
|
||||||
}))
|
|
||||||
.pipe(gulp.dest('./'))
|
|
||||||
});
|
|
||||||
|
|
||||||
gulp.task('default', ['sass']);
|
|
Loading…
Reference in New Issue
Block a user