From 716124edb8dc8a4b7847e911eba27a2ee5b6f6e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavier=20Juli=C3=A1n?= Date: Wed, 6 Jul 2016 17:13:39 +0200 Subject: [PATCH] Remove css lint from default task --- gulpfile.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 0f1fab49..7c5b788f 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -354,6 +354,14 @@ gulp.task("compile-themes", function(cb) { }); gulp.task("styles", function(cb) { + return runSequence("scss-lint", + "sass-compile", + ["app-css", "vendor-css"], + "main-css", + cb); +}); + +gulp.task("styles-lint", function(cb) { return runSequence("scss-lint", "sass-compile", "css-lint-app", @@ -589,7 +597,7 @@ gulp.task("watch", function() { livereload.listen(); gulp.watch(paths.jade, ["jade-watch"]); - gulp.watch(paths.sass_watch, ["styles"]); + gulp.watch(paths.sass_watch, ["styles-lint"]); gulp.watch(paths.styles_dependencies, ["styles-dependencies"]); gulp.watch(paths.svg, ["copy-svg"]); gulp.watch(paths.coffee, ["app-watch"]);