10 lines
308 B
JavaScript
10 lines
308 B
JavaScript
|
var fs = require('fs');
|
||
|
var join = require('path').join;
|
||
|
module.exports = function (grunt) {
|
||
|
grunt.registerTask('chmod_kibana', 'Chmods bin/kibana', function () {
|
||
|
var done = this.async();
|
||
|
var path = join(grunt.config.get('build'), 'dist', 'bin', 'kibana');
|
||
|
fs.chmod(path, 0755, done);
|
||
|
});
|
||
|
};
|