grafana: reduce bottle deviations.

This commit is contained in:
Mike McQuaid 2019-01-24 13:57:01 +00:00
parent 9c6d5a061e
commit 20c1ab432f

View file

@ -26,10 +26,7 @@ class Grafana < Formula
system "yarn", "install", "--ignore-engines"
args = ["build"]
# Avoid PhantomJS error "unrecognized selector sent to instance"
args << "--force" unless build.bottle?
system "node_modules/grunt-cli/bin/grunt", *args
system "node_modules/grunt-cli/bin/grunt", "build"
bin.install "bin/darwin-amd64/grafana-cli"
bin.install "bin/darwin-amd64/grafana-server"