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

Change-Id: I2dfeb4eb2fba609f0d8677eef94551fd77fffb41
2017-11-03 18:34:06 +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' );
};