Skip to content

Commit

Permalink
Address more future mandatory load requirements for Bazel (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlw authored Jan 17, 2025
1 parent e89615f commit 29eff7e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ bazel_dep(name = "abseil-cpp", version = "20240722.0", repo_name = "com_google_a
bazel_dep(name = "rules_python", version = "1.0.0")
bazel_dep(name = "rules_cc", version = "0.0.17")
bazel_dep(name = "rules_apple", version = "3.16.1", repo_name = "build_bazel_rules_apple")
bazel_dep(name = "rules_shell", version = "0.3.0", repo_name = "build_bazel_rules_shell")
bazel_dep(name = "rules_swift", version = "2.3.1", repo_name = "build_bazel_rules_swift")
bazel_dep(name = "rules_fuzzing", version = "0.5.2")
bazel_dep(name = "protobuf", version = "29.3", repo_name = "com_google_protobuf")
Expand Down
3 changes: 2 additions & 1 deletion helper.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

load("@build_bazel_rules_apple//apple:macos.bzl", "macos_unit_test")
load("@build_bazel_rules_apple//apple:resources.bzl", "apple_resource_group")
load("@build_bazel_rules_shell//shell:sh_binary.bzl", "sh_binary")
load("@rules_cc//cc:defs.bzl", "objc_library")

def run_command(name, cmd, **kwargs):
Expand All @@ -13,7 +14,7 @@ def run_command(name, cmd, **kwargs):
cmd = "echo '#!/bin/bash' > $@ && echo '%s' >> $@" % cmd,
**kwargs
)
native.sh_binary(
sh_binary(
name = name,
srcs = ["%s.sh" % name],
)
Expand Down

0 comments on commit 29eff7e

Please # to comment.