2014-08-26 02:55:32 +02:00
|
|
|
module.exports = function (grunt) {
|
|
|
|
var config = {
|
|
|
|
|
|
|
|
kibana_src: {
|
|
|
|
expand: true,
|
|
|
|
cwd: '<%= app %>',
|
|
|
|
src: '**',
|
|
|
|
dest: '<%= build %>/src/'
|
|
|
|
},
|
|
|
|
|
|
|
|
server_src: {
|
|
|
|
expand: true,
|
|
|
|
cwd: '<%= src %>/server',
|
|
|
|
src: '**',
|
|
|
|
dest: '<%= build %>/kibana'
|
|
|
|
},
|
|
|
|
|
|
|
|
dist: {
|
|
|
|
options: { mode: true },
|
|
|
|
files: [
|
2014-08-27 23:10:42 +02:00
|
|
|
{
|
|
|
|
src: '<%= build %>/kibana/INSTALL',
|
|
|
|
dest: '<%= build %>/dist/INSTALL',
|
|
|
|
},
|
2014-08-26 02:55:32 +02:00
|
|
|
{
|
|
|
|
expand: true,
|
|
|
|
cwd: '<%= build %>/kibana/',
|
|
|
|
src: '*.jar',
|
|
|
|
dest: '<%= build %>/dist/lib/'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
expand: true,
|
|
|
|
cwd: '<%= src %>/server/config/',
|
|
|
|
src: 'kibana.yml',
|
|
|
|
dest: '<%= build %>/dist/config/'
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
return config;
|
|
|
|
};
|