Skip to content

Commit d44f7e4

Browse files
author
Rajesh Taneja
committed
MDL-56519 behat: Add gherkin lint to watch and startup
1 parent 57bee54 commit d44f7e4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Gruntfile.js

+6
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,10 @@ module.exports = function(grunt) {
170170
files: ['**/yui/src/**/*.js'],
171171
tasks: ['yui']
172172
},
173+
gherkinlint: {
174+
files: ['**/tests/behat/*.feature'],
175+
tasks: ['gherkinlint']
176+
}
173177
},
174178
shifter: {
175179
options: {
@@ -349,6 +353,7 @@ module.exports = function(grunt) {
349353
// Run them all!.
350354
grunt.task.run('css');
351355
grunt.task.run('js');
356+
grunt.task.run('gherkinlint');
352357
}
353358
};
354359

@@ -363,6 +368,7 @@ module.exports = function(grunt) {
363368
grunt.config('uglify.amd.files', [{expand: true, src: files, rename: uglifyRename}]);
364369
grunt.config('shifter.options.paths', files);
365370
grunt.config('stylelint.less.src', files);
371+
grunt.config('gherkinlint.options.files', files);
366372
changedFiles = Object.create(null);
367373
}, 200);
368374

0 commit comments

Comments
 (0)