mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 02:09:32 -04:00
Tweaked build system to allow serving both marvel and kibana content without building and without symlinks
35 lines
No EOL
717 B
JavaScript
35 lines
No EOL
717 B
JavaScript
module.exports = function (config) {
|
|
return {
|
|
maven_clean: {
|
|
command: 'mvn clean',
|
|
cwd: '<%= shipperDir %>',
|
|
options: {
|
|
stdout: true,
|
|
failOnError: true,
|
|
execOptions: {
|
|
cwd: '<%= shipperDir %>',
|
|
}
|
|
},
|
|
},
|
|
maven_package: {
|
|
command: 'mvn package',
|
|
options: {
|
|
stdout: true,
|
|
failOnError: true,
|
|
execOptions: {
|
|
cwd: '<%= shipperDir %>',
|
|
}
|
|
},
|
|
},
|
|
build_kibana: {
|
|
command: [ 'npm install', 'grunt build'].join("&&"),
|
|
options: {
|
|
stdout: true,
|
|
failOnError: true,
|
|
execOptions: {
|
|
cwd: '<%= buildMergeDir %>',
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}; |