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
Next Next commit
ibazel: only for build macos for now (bazel does not run in CI for li…
…nux)

Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
chenrui333 committed Dec 5, 2022
commit bed068cac7534233f49b50ec9db68b9c192d6b86
6 changes: 1 addition & 5 deletions Formula/ibazel.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class Ibazel < Formula

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

def install
inreplace ".bazelversion", "5.3.1", "5.3.2"
Expand All @@ -17,10 +17,6 @@ def install
end

test do
# linux test failed due to `bin/bazel-real' as a zip file: (error: 5): Input/output error` issue
# it works out locally, thus bypassing the test as a whole
return if OS.linux?

# Test building a sample Go program
(testpath/"WORKSPACE").write <<~EOS
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
Expand Down