kibana: install UI framework

This is a provided framework that needs to be installed with the rest of
Kibana.

Closes #11360.

Signed-off-by: Tomasz Pajor <tomek@polishgeeks.com>
This commit is contained in:
Jason Tedor 2017-03-20 21:05:13 -04:00 committed by Tomasz Pajor
parent 836889805c
commit efc029da6c

View file

@ -47,7 +47,7 @@ class Kibana < Formula
system "npm", "install", "--verbose"
system "npm", "run", "build", "--", "--release", "--skip-os-packages", "--skip-archives"
prefix.install Dir["build/kibana-#{version}-#{platform.sub("x64", "x86_64")}/{bin,config,node_modules,optimize,package.json,src,webpackShims}"]
prefix.install Dir["build/kibana-#{version}-#{platform.sub("x64", "x86_64")}/{bin,config,node_modules,optimize,package.json,src,ui_framework,webpackShims}"]
inreplace "#{bin}/kibana", %r{/node/bin/node}, "/libexec/node/bin/node"
inreplace "#{bin}/kibana-plugin", %r{/node/bin/node}, "/libexec/node/bin/node"