kibana/tasks/options/compress.js
Boaz Leskes 31ba5de2df Moved plugin to a subfolder
Tweaked build system to allow serving both marvel and kibana content without building and without symlinks
2013-11-18 22:14:38 +01:00

42 lines
No EOL
865 B
JavaScript

module.exports = function (config) {
return {
zip: {
options: {
archive: '<%= packageDir %>/<%= pkg.name %>-<%= pkg.version %>.zip'
},
files: [
{
expand: true,
cwd: '<%= buildMergeDir %>/dist',
src: ['**/*'],
dest: '_site'
},
{
expand: true,
cwd: '<%= buildDir %>',
src: ['*.jar'],
dest: ''
}
]
},
tgz: {
options: {
archive: '<%= packageDir %>/<%= pkg.name %>-<%= pkg.version %>.tar.gz'
},
files: [
{
expand: true,
cwd: '<%= buildMergeDir %>/dist',
src: ['**/*'],
dest: '_site'
},
{
expand: true,
cwd: '<%= buildDir %>',
src: ['*.jar'],
dest: ''
}
]
}
};
};