grafana/tasks/options/copy.js
2015-09-10 11:26:40 +02:00

20 lines
426 B
JavaScript

module.exports = function(config) {
return {
// copy source to temp, we will minify in place for the dist build
everything_but_less_to_temp: {
cwd: '<%= srcDir %>',
expand: true,
src: ['**/*', '!**/*.less'],
dest: '<%= tempDir %>'
},
everything_but_less: {
cwd: '<%= srcDir %>',
expand: true,
src: ['**/*', '!**/*.less'],
dest: '<%= genDir %>'
}
};
};