mediawiki-extensions-Editcount/Gruntfile.js
Umherirrender 039d2cd82a build: Add php-parallel-lint and MinusX
php-lint will test for valid php files
MinusX will test for executable bits

Change-Id: I29038a499eb83d2ea0bad6a8c23c739964d86087
2017-11-03 19:48:45 +01:00

22 lines
403 B
JavaScript

/*jshint node:true */
module.exports = function ( grunt ) {
grunt.loadNpmTasks( 'grunt-jsonlint' );
grunt.loadNpmTasks( 'grunt-banana-checker' );
grunt.initConfig( {
banana: {
all: 'i18n/'
},
jsonlint: {
all: [
'**/*.json',
'!node_modules/**',
'!vendor/**'
]
}
} );
grunt.registerTask( 'test', [ 'jsonlint', 'banana' ] );
grunt.registerTask( 'default', 'test' );
};