coffee-lint ignore test files
parent
0130301828
commit
582e9e83d7
|
@ -298,7 +298,10 @@ gulp.task("locales", function() {
|
||||||
});
|
});
|
||||||
|
|
||||||
gulp.task("coffee-lint", function () {
|
gulp.task("coffee-lint", function () {
|
||||||
gulp.src(paths.app + "modules/**/*.coffee")
|
gulp.src([
|
||||||
|
paths.app + "modules/**/*.coffee",
|
||||||
|
"!" + paths.app + "modules/**/*.spec.coffee"
|
||||||
|
])
|
||||||
.pipe(gulpif(!isDeploy, cache(coffeelint(), {
|
.pipe(gulpif(!isDeploy, cache(coffeelint(), {
|
||||||
key: function(lintFile) {
|
key: function(lintFile) {
|
||||||
return "coffee-lint" + lintFile.contents.toString('utf8');
|
return "coffee-lint" + lintFile.contents.toString('utf8');
|
||||||
|
|
Loading…
Reference in New Issue