mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CategoryTree
synced 2024-11-30 11:06:55 +00:00
test: Configuring banana-checker for i18n messages
Change-Id: I473d1589ef8df5e30f690ef139c1f66869206a3e
This commit is contained in:
parent
2215925ae9
commit
48e700ffee
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,3 +2,4 @@
|
|||
*~
|
||||
*.kate-swp
|
||||
.*.swp
|
||||
node_modules/
|
||||
|
|
18
Gruntfile.js
Normal file
18
Gruntfile.js
Normal file
|
@ -0,0 +1,18 @@
|
|||
/*!
|
||||
* Grunt file
|
||||
*
|
||||
* @package CategoryTree
|
||||
*/
|
||||
|
||||
/*jshint node:true */
|
||||
module.exports = function ( grunt ) {
|
||||
grunt.loadNpmTasks( 'grunt-banana-checker' );
|
||||
grunt.initConfig( {
|
||||
banana: {
|
||||
all: ['i18n/']
|
||||
}
|
||||
} );
|
||||
|
||||
grunt.registerTask( 'test', [ 'banana' ] );
|
||||
grunt.registerTask( 'default', 'test' );
|
||||
};
|
14
package.json
Normal file
14
package.json
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"name": "categorytree",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"description": "Build tools for the CategoryTree extension.",
|
||||
"scripts": {
|
||||
"test": "grunt test"
|
||||
},
|
||||
"devDependencies": {
|
||||
"grunt": "0.4.5",
|
||||
"grunt-cli": "0.1.13",
|
||||
"grunt-banana-checker": "0.2.1"
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue