bazelisk 1.1.0

Closes #45965.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
Rui Chen 2019-10-29 21:40:52 -04:00 committed by FX Coudert
parent d620dea66a
commit 8ef8320274

View file

@ -2,8 +2,8 @@ class Bazelisk < Formula
desc "User-friendly launcher for Bazel"
homepage "https://github.com/bazelbuild/bazelisk/"
url "https://github.com/bazelbuild/bazelisk.git",
:tag => "v1.0",
:revision => "52085079a69f26c142e6dc9c948a7baa7a38c9c8"
:tag => "v1.1.0",
:revision => "fd66bc39dffe62c73db5edabd6d872d54ae88bd3"
head "https://github.com/bazelbuild/bazelisk.git"
bottle do
@ -22,7 +22,7 @@ class Bazelisk < Formula
"--platforms=@io_bazel_rules_go//go/toolchain:darwin_amd64",
"//:bazelisk"
bin.install "bazel-bin/darwin_amd64_stripped/bazelisk" => "bazelisk"
bin.install "bazel-bin/darwin_amd64_pure_stripped/bazelisk" => "bazelisk"
end
test do
@ -31,7 +31,7 @@ class Bazelisk < Formula
# This is an older than current version, so that we can test that bazelisk
# will target an explicit version we specify. This version shouldn't need to
# be bumped.
ENV["USE_BAZEL_VERSION"] = "0.26.0"
assert_match /Build label: 0.26.0/, shell_output("#{bin}/bazelisk version")
ENV["USE_BAZEL_VERSION"] = "0.28.0"
assert_match /Build label: 0.28.0/, shell_output("#{bin}/bazelisk version")
end
end