36 lines
755 B
JavaScript
36 lines
755 B
JavaScript
module.exports = function (grunt) {
|
|
var config = {
|
|
less: {
|
|
files: [
|
|
'<%= app %>/**/styles/**/*.less',
|
|
'<%= plugins %>/*/styles/**/*.less',
|
|
'<%= plugins %>/*/*.less',
|
|
'<%= app %>/**/components/**/*.less',
|
|
'<%= app %>/**/components/vislib/components/styles/**/*.less'
|
|
],
|
|
tasks: ['less:dev']
|
|
},
|
|
|
|
jade: {
|
|
files: [
|
|
'<%= unitTestDir %>/index.jade'
|
|
],
|
|
tasks: ['jade:test']
|
|
},
|
|
|
|
clientside_jade: {
|
|
files: [
|
|
'<%= testUtilsDir %>/istanbul_reporter/report.clientside.jade'
|
|
],
|
|
tasks: ['jade:clientside']
|
|
}
|
|
};
|
|
|
|
if (grunt.option('no-test-watcher')) {
|
|
// unset the test watcher
|
|
delete config.test;
|
|
}
|
|
|
|
return config;
|
|
};
|