Merge "build: Re-use MessageDirs in banana conf"

This commit is contained in:
jenkins-bot 2017-01-24 08:03:56 +00:00 committed by Gerrit Code Review
commit b968932701

View file

@ -1,5 +1,7 @@
/* eslint-env node */
module.exports = function ( grunt ) {
var conf = grunt.file.readJSON( 'extension.json' );
grunt.loadNpmTasks( 'grunt-banana-checker' );
grunt.loadNpmTasks( 'grunt-eslint' );
grunt.loadNpmTasks( 'grunt-jsonlint' );
@ -7,9 +9,7 @@ module.exports = function ( grunt ) {
grunt.loadNpmTasks( 'grunt-stylelint' );
grunt.initConfig( {
banana: {
all: 'i18n/'
},
banana: conf.MessagesDirs,
jsonlint: {
all: [
'**/*.json',