bazel: add missing symlink
Closes #48237. Signed-off-by: Rui Chen <chenrui333@gmail.com>
This commit is contained in:
parent
18c53c7d03
commit
aa6ff7b2bb
1 changed files with 2 additions and 0 deletions
|
@ -3,6 +3,7 @@ class Bazel < Formula
|
|||
homepage "https://bazel.build/"
|
||||
url "https://github.com/bazelbuild/bazel/releases/download/2.0.0/bazel-2.0.0-dist.zip"
|
||||
sha256 "724da3c656f68e787a86ebb9844773aa1c2e3a873cc39462a8f1b336153d6cbb"
|
||||
revision 1
|
||||
|
||||
bottle do
|
||||
cellar :any_skip_relocation
|
||||
|
@ -35,6 +36,7 @@ class Bazel < Formula
|
|||
"scripts:bash_completion"
|
||||
|
||||
bin.install "scripts/packages/bazel.sh" => "bazel"
|
||||
ln_s bin/"bazel", bin/"bazel-#{version}"
|
||||
(libexec/"bin").install "output/bazel" => "bazel-real"
|
||||
bin.env_script_all_files(libexec/"bin", Language::Java.java_home_env("1.8"))
|
||||
|
||||
|
|
Loading…
Reference in a new issue