Remove css lint from default task
parent
af585e22bb
commit
716124edb8
10
gulpfile.js
10
gulpfile.js
|
@ -354,6 +354,14 @@ gulp.task("compile-themes", function(cb) {
|
||||||
});
|
});
|
||||||
|
|
||||||
gulp.task("styles", 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",
|
return runSequence("scss-lint",
|
||||||
"sass-compile",
|
"sass-compile",
|
||||||
"css-lint-app",
|
"css-lint-app",
|
||||||
|
@ -589,7 +597,7 @@ gulp.task("watch", function() {
|
||||||
livereload.listen();
|
livereload.listen();
|
||||||
|
|
||||||
gulp.watch(paths.jade, ["jade-watch"]);
|
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.styles_dependencies, ["styles-dependencies"]);
|
||||||
gulp.watch(paths.svg, ["copy-svg"]);
|
gulp.watch(paths.svg, ["copy-svg"]);
|
||||||
gulp.watch(paths.coffee, ["app-watch"]);
|
gulp.watch(paths.coffee, ["app-watch"]);
|
||||||
|
|
Loading…
Reference in New Issue