-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathGruntfile.js
45 lines (44 loc) · 999 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
34
35
36
37
38
39
40
41
42
43
44
45
// Generated by CoffeeScript 1.5.0
(function() {
'use strict';
module.exports = function(grunt) {
grunt.initConfig({
nodeunit: {
tests: ['test/*_test.js']
},
coffee: {
genie: {
files: [
{
expand: true,
src: "genie.coffee",
ext: ".js"
}
]
},
test: {
files: [
{
expand: true,
src: "test/**/*.coffee",
ext: ".spec.js"
}
]
},
examples: {
files: [
{
expand: true,
src: "examples/**/*.coffee",
ext: ".js"
}
]
}
}
});
grunt.loadNpmTasks('grunt-contrib-nodeunit');
grunt.loadNpmTasks('grunt-contrib-coffee');
grunt.loadNpmTasks('grunt-contrib-watch');
return grunt.registerTask('test', ['clean', 'coffee', 'nodeunit']);
};
}).call(this);