kibana/tasks/build.js
Chris Cowan 5d39d334ea Closes #355 - Make bin/kibana executable in the tar and zip archives
grunt-compress is broken it does not honor the `mode` option when tyring
to set the permissions on a file. This is broken through out the entire
Grunt project (grunt-contrib-copy doesn't honor it, grunt-replace
doesn't honor it... as far as I can tell nothing does). SO instead of
wasting more time trying to get it to work (I already wasted an hour on
it) I decided to fall back to just writing a 10 minute script that
actually works. If you are intent on using a pure Grunt task to make it
work feel free to go do that rabit hole.
2014-09-23 07:02:34 -07:00

21 lines
440 B
JavaScript

module.exports = function (grunt) {
grunt.registerTask('build', [
'clean:target',
'clean:build',
'require_css_deps:copy',
'less',
'copy:kibana_src',
'touch_config',
'requirejs',
'clean:unneeded_source_in_build',
'copy:server_src',
'download_jruby',
'install_gems',
'warble',
'replace:dist',
'copy:dist',
'compile_dist_readme',
'chmod_kibana',
'create_packages'
]);
};