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

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

View file

@ -7,7 +7,8 @@
/* eslint-env node */ /* eslint-env node */
module.exports = function ( grunt ) { module.exports = function ( grunt ) {
'use strict'; var conf = grunt.file.readJSON( 'extension.json' );
grunt.loadNpmTasks( 'grunt-banana-checker' ); grunt.loadNpmTasks( 'grunt-banana-checker' );
grunt.loadNpmTasks( 'grunt-eslint' ); grunt.loadNpmTasks( 'grunt-eslint' );
grunt.loadNpmTasks( 'grunt-jsonlint' ); grunt.loadNpmTasks( 'grunt-jsonlint' );
@ -27,10 +28,7 @@ module.exports = function ( grunt ) {
'!node_modules/**' '!node_modules/**'
] ]
}, },
banana: { banana: conf.MessagesDirs,
core: [ 'i18n/' ],
ve: [ 'modules/ve-cite/i18n/' ]
},
stylelint: { stylelint: {
core: { core: {
src: [ src: [