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

ibazel 0.21.0 (new formula) #116043

Closed
wants to merge 9 commits into from
Prev Previous commit
ibazel 0.21.0
  • Loading branch information
chenrui333 committed Dec 5, 2022
commit db5bf4e4a3cef4ce1201af467de3b97d22ecaad8
8 changes: 2 additions & 6 deletions Formula/ibazel.rb
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
class Ibazel < Formula
desc "Tools for building Bazel targets when source files change"
homepage "https://github.com/bazelbuild/bazel-watcher"
url "https://github.com/bazelbuild/bazel-watcher/archive/refs/tags/v0.20.0.tar.gz"
sha256 "7b0f98006b32d2ad5eee38eb9b363005968abf88d235e31fc6dd2a8c4336f33d"
url "https://github.com/bazelbuild/bazel-watcher/archive/refs/tags/v0.21.0.tar.gz"
sha256 "c6413d3298c51d968bbbe8a01f481b83947e55eae6af78c0b8268a91e02d7989"
license "Apache-2.0"

depends_on "bazel" => [:build, :test]
depends_on "go" => [:build, :test]
depends_on :macos

def install
# upstream patch PR, https://github.com/bazelbuild/bazel-watcher/pull/556
# remove in next release
inreplace ".bazelversion", "5.3.1", "5.3.2"

system "bazel", "build", "--config=release", "--workspace_status_command", "echo STABLE_GIT_VERSION #{version}", "//cmd/ibazel:ibazel"
bin.install "bazel-bin/cmd/ibazel/ibazel_/ibazel"
end
Expand Down