forked from tvance989/gizworks-v1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gruntfile.js
27 lines (23 loc) · 854 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
//You may have already done this, but Linkchecker is a Python package, so use pip or easy-install to nab it
module.exports = function(grunt){
[
'grunt-cafe-mocha',
'grunt-contrib-jshint',
'grunt-exec',
].forEach(function(task){
grunt.loadNpmTasks(task);
});
grunt.initConfig({
cafemocha: {
all: { src: 'qa/tests-*.js', options: { ui: 'tdd' }, }
},
jshint: {
app: { src: 'qa/tests-*.js', options: { ui: 'tdd' }, }
},
exec: {
linkchecker:
{ cmd: 'linkchecker http://localhost:3000' }
},
});
grunt.registerTask('default', ['cafemocha', 'jshint', 'exec']);
};