grafana/tasks/options/copy.js
2015-09-10 12:42:24 +02:00

20 lines
420 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 %>'
},
public_to_gen: {
cwd: '<%= srcDir %>',
expand: true,
src: ['**/*', '!**/*.less'],
dest: '<%= genDir %>'
}
};
};