kibana-123
Version:
Kibana is an open source (Apache Licensed), browser based analytics and search dashboard for Elasticsearch. Kibana is a snap to setup and start using. Kibana strives to be easy to get started with, while also being flexible and powerful, just like Elastic
18 lines (14 loc) • 520 B
JavaScript
let marked = require('marked');
let Promise = require('bluebird');
let { join } = require('path');
let _ = require('lodash');
let fs = require('fs');
module.exports = function (grunt) {
grunt.registerTask('_build:readme', function () {
function transformReadme(readme) {
return readme.replace(/\s##\sSnapshot\sBuilds[\s\S]*/, '');
}
grunt.file.copy('LICENSE.md', 'build/kibana/LICENSE.txt');
grunt.file.write('build/kibana/README.txt', transformReadme(grunt.file.read('README.md')));
});
};