Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bazelisk 1.3.0 #49792

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 5 additions & 7 deletions Formula/bazelisk.rb
Expand Up @@ -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.2.1",
:revision => "56a03d98104be7cfa57d4bbdc03b4c7cea29a6c9"
:tag => "v1.3.0",
:revision => "24b8784d71096f3dfa38d6533a770f45a49cda43"
head "https://github.com/bazelbuild/bazelisk.git"

bottle do
Expand All @@ -16,12 +16,10 @@ class Bazelisk < Formula
depends_on "bazel" => :build

def install
system "bazel", "build", "--stamp",
"--workspace_status_command=#{buildpath}/stamp.sh",
"--platforms=@io_bazel_rules_go//go/toolchain:darwin_amd64",
"//:bazelisk"
rm_f ".bazelversion" # Homebrew uses the latest bazel
system "bazel", "build", "--config=release", "//:bazelisk-darwin"

bin.install "bazel-bin/darwin_amd64_pure_stripped/bazelisk" => "bazelisk"
bin.install "bazel-bin/bazelisk-darwin_amd64" => "bazelisk"
end

test do
Expand Down