mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Tweaked build system to allow serving both marvel and kibana content without building and without symlinks
42 lines
No EOL
865 B
JavaScript
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: ''
|
|
}
|
|
]
|
|
}
|
|
};
|
|
}; |