forked from LionelMartin/node-xmltv
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Gruntfile.js
33 lines (31 loc) · 860 Bytes
/
Gruntfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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']);
};