xmltv
Version:
An XMLTV format reader
34 lines (31 loc) • 860 B
JavaScript
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
tape: {
options: {
pretty: false // You can pipe the output to your prefered tap reader
},
files: ['test/**/*.js']
},
jshint: {
options: {
jshintrc: '.jshintrc'
},
gruntfile: {
src: 'Gruntfile.js'
},
lib: {
src: ['lib/**/*.js']
},
test: {
src: ['test/**/*.js']
}
}
});
// These plugins provide necessary tasks.
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-tape');
// Default task.
grunt.registerTask('test', ['tape']);
grunt.registerTask('default', ['jshint', 'test']);
};