.. | ||
package_scripts | ||
archives.js | ||
babel_cache.js | ||
babel_options.js | ||
data.js | ||
download_node_builds.js | ||
index.js | ||
install_npm_deps.js | ||
installed_plugins.js | ||
notice.js | ||
os_packages.js | ||
os_shell_scripts.js | ||
package_json.js | ||
pleaserun.js | ||
readme.js | ||
remove_pkg_json_deps.js | ||
shasums.js | ||
verify_translations.js | ||
versioned_links.js |
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'))); }); };