2014-02-24 23:14:31 +01:00
|
|
|
module.exports = function (grunt) {
|
|
|
|
return {
|
|
|
|
test: {
|
2014-03-06 00:56:42 +01:00
|
|
|
files: [
|
|
|
|
'<%= unitTestDir %>/**/*.js'
|
|
|
|
],
|
2014-03-05 22:13:23 +01:00
|
|
|
tasks: ['mocha:unit']
|
2014-02-24 23:47:09 +01:00
|
|
|
},
|
2014-02-25 20:42:40 +01:00
|
|
|
less: {
|
|
|
|
files: [
|
2014-03-06 00:56:42 +01:00
|
|
|
'<%= app %>/**/styles/**/*.less',
|
|
|
|
'!<%= src %>/**/_*.less'
|
2014-02-25 20:42:40 +01:00
|
|
|
],
|
2014-02-24 23:47:09 +01:00
|
|
|
tasks: ['less']
|
2014-02-25 20:42:40 +01:00
|
|
|
},
|
|
|
|
jade: {
|
|
|
|
files: [
|
2014-03-06 00:56:42 +01:00
|
|
|
'<%= unitTestDir %>/index.jade'
|
|
|
|
],
|
|
|
|
tasks: ['jade:test']
|
|
|
|
},
|
|
|
|
clientside_jade: {
|
|
|
|
files: [
|
2014-03-07 01:37:43 +01:00
|
|
|
'<%= testUtilsDir %>/istanbul_reporter/report.clientside.jade'
|
2014-02-25 20:42:40 +01:00
|
|
|
],
|
2014-03-06 00:56:42 +01:00
|
|
|
tasks: ['jade:clientside']
|
2014-02-24 23:14:31 +01:00
|
|
|
}
|
2014-02-24 23:47:09 +01:00
|
|
|
};
|
2014-02-24 23:14:31 +01:00
|
|
|
};
|