jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/333631 )

Change subject: build: Re-use MessageDirs in banana conf
......................................................................


build: Re-use MessageDirs in banana conf

Change-Id: Ia673030da7ce5f9114772cc879a0449743ef151a
---
M Gruntfile.js
1 file changed, 3 insertions(+), 4 deletions(-)

Approvals:
  jenkins-bot: Verified
  Phuedx: Looks good to me, approved



diff --git a/Gruntfile.js b/Gruntfile.js
index b4b9393..e40aec7 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -1,7 +1,8 @@
 /* eslint-evn node */
 
 module.exports = function ( grunt ) {
-       var QUNIT_URL_BASE = 
'http://localhost:8080/wiki/Special:JavaScriptTest/qunit/plain';
+       var conf = grunt.file.readJSON( 'extension.json' ),
+               QUNIT_URL_BASE = 
'http://localhost:8080/wiki/Special:JavaScriptTest/qunit/plain';
 
        grunt.loadNpmTasks( 'grunt-banana-checker' );
        grunt.loadNpmTasks( 'grunt-contrib-qunit' );
@@ -11,9 +12,7 @@
        grunt.loadNpmTasks( 'grunt-stylelint' );
 
        grunt.initConfig( {
-               banana: {
-                       all: 'i18n/'
-               },
+               banana: conf.MessagesDirs,
                eslint: {
                        fix: {
                                options: {

-- 
To view, visit https://gerrit.wikimedia.org/r/333631
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia673030da7ce5f9114772cc879a0449743ef151a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Popups
Gerrit-Branch: mpga
Gerrit-Owner: Esanders <esand...@wikimedia.org>
Gerrit-Reviewer: Phuedx <samsm...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to