From a1789ddde42033f1b05cc4929491214ee6e79383 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 17 Dec 2015 09:15:42 +0100 Subject: Update to MediaWiki 1.26.0 --- skins/Modern/Gruntfile.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 skins/Modern/Gruntfile.js (limited to 'skins/Modern/Gruntfile.js') diff --git a/skins/Modern/Gruntfile.js b/skins/Modern/Gruntfile.js new file mode 100644 index 00000000..9c56558a --- /dev/null +++ b/skins/Modern/Gruntfile.js @@ -0,0 +1,20 @@ +/*jshint node:true */ +module.exports = function ( grunt ) { + grunt.loadNpmTasks( 'grunt-banana-checker' ); + grunt.loadNpmTasks( 'grunt-jsonlint' ); + + grunt.initConfig( { + banana: { + all: 'i18n/' + }, + jsonlint: { + all: [ + '**/*.json', + '!node_modules/**' + ] + } + } ); + + grunt.registerTask( 'test', [ 'jsonlint', 'banana' ] ); + grunt.registerTask( 'default', 'test' ); +}; -- cgit v1.2.3-54-g00ecf