jenkins-bot has submitted this change and it was merged.
Change subject: build: Setup banana test for i18n messages
......................................................................
build: Setup banana test for i18n messages
Change-Id: Ie4ba01d7ac67ab2b3059b860b0e1d4cd26353dab
---
M Gruntfile.js
M package.json
2 files changed, 6 insertions(+), 1 deletion(-)
Approvals:
Jdlrobson: Looks good to me, approved
jenkins-bot: Verified
diff --git a/Gruntfile.js b/Gruntfile.js
index a346534..8b0cbb6 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -12,6 +12,7 @@
grunt.loadNpmTasks( 'grunt-qunit-istanbul' );
grunt.loadNpmTasks( 'grunt-contrib-watch' );
grunt.loadNpmTasks( 'grunt-notify' );
+ grunt.loadNpmTasks( 'grunt-banana-checker' );
grunt.initConfig( {
URL: process.env.MEDIAWIKI_URL ||
'http://127.0.0.1:8080/w/index.php/',
@@ -99,10 +100,13 @@
reload: true
}
}
+ },
+ banana: {
+ all: 'i18n/'
}
} );
- grunt.registerTask( 'lint', [ 'jshint', 'jscs' ] );
+ grunt.registerTask( 'lint', [ 'jshint', 'jscs', 'banana' ] );
// grunt test will be run by npm test which will be run by Jenkins
// Do not execute qunit here, or other tasks that require full mediawiki
diff --git a/package.json b/package.json
index 8c6139c..7c49ae0 100644
--- a/package.json
+++ b/package.json
@@ -21,6 +21,7 @@
"grunt-cli": "0.1.13",
"grunt-mkdir": "^0.1.2",
"grunt-contrib-jshint": "0.11.2",
+ "grunt-banana-checker": "0.2.2",
"grunt-jscs": "2.0.0",
"js-beautify": "1.5.10",
"grunt-notify": "0.4.1",
--
To view, visit https://gerrit.wikimedia.org/r/231475
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie4ba01d7ac67ab2b3059b860b0e1d4cd26353dab
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Florianschmidtwelzow <[email protected]>
Gerrit-Reviewer: Jdlrobson <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits