aboutsummaryrefslogtreecommitdiff
path: root/gulpfile.js
diff options
context:
space:
mode:
authorHorst31802016-04-05 16:19:46 +0200
committerHorst31802016-04-05 16:23:55 +0200
commit428f89c38c8a7ccef31085710bb7a19a3293625a (patch)
tree80ac03f70c5fc500441a31d09c7ead328cab4301 /gulpfile.js
parentbf1883a538acbc4cdc80bf823932e3c451904116 (diff)
downloadsolarc-theme-428f89c38c8a7ccef31085710bb7a19a3293625a.tar.gz
solarc-theme-428f89c38c8a7ccef31085710bb7a19a3293625a.tar.xz
solarc-theme-428f89c38c8a7ccef31085710bb7a19a3293625a.zip
remove duplicate files
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js20
1 files changed, 20 insertions, 0 deletions
diff --git a/gulpfile.js b/gulpfile.js
new file mode 100644
index 0000000..0ceafcd
--- /dev/null
+++ b/gulpfile.js
@@ -0,0 +1,20 @@
+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']);