mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-09-23 10:22:37 +00:00
build: Re-use MessageDirs in banana conf
Change-Id: I459613ec89ba342a32410061b1a9b04171544cdd
This commit is contained in:
parent
1529b4f352
commit
24864a36bd
|
@ -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-jsonlint' );
|
||||
grunt.loadNpmTasks( 'grunt-eslint' );
|
||||
|
@ -18,12 +20,7 @@ module.exports = function ( grunt ) {
|
|||
'!node_modules/**'
|
||||
]
|
||||
},
|
||||
banana: {
|
||||
all: [
|
||||
'i18n/',
|
||||
'**/i18n/'
|
||||
]
|
||||
},
|
||||
banana: conf.MessagesDirs,
|
||||
jsonlint: {
|
||||
all: [
|
||||
'*.json',
|
||||
|
|
Loading…
Reference in a new issue