Skip to content

Commit

Permalink
Fix BCR build
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeykhliustin committed Apr 30, 2024
1 parent 95e62cb commit d4e71b4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
load("@build_bazel_rules_swift//swift:swift.bzl", "swift_library")
load("@build_bazel_rules_apple//apple:macos.bzl", "macos_command_line_application")
load("@rules_swift//swift:swift.bzl", "swift_library")
load("@rules_apple//apple:macos.bzl", "macos_command_line_application")
load("@rules_cc//cc:defs.bzl", "objc_library")

SWIFT_VERSION = "5"
Expand Down
8 changes: 3 additions & 5 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,16 @@ bazel_dep(
)
bazel_dep(
name = "apple_support",
version = "1.15.1",
repo_name = "build_bazel_apple_support",
version = "1.15.1"
)
bazel_dep(
name = "rules_apple",
version = "3.5.1",
repo_name = "build_bazel_rules_apple",
version = "3.5.1"
)
bazel_dep(
name = "rules_swift",
version = "1.18.0",
repo_name = "build_bazel_rules_swift",
repo_name = "rules_swift",
)
bazel_dep(
name = "rules_cc",
Expand Down
2 changes: 1 addition & 1 deletion repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def namespaced_http_archive(name, **kwargs):
def namespaced_build_file(libs):
return """
package(default_visibility = ["//visibility:public"])
load("@build_bazel_rules_swift//swift:swift.bzl", "swift_library")
load("@rules_swift//swift:swift.bzl", "swift_library")
""" + "\n\n".join(libs)

def namespaced_swift_library(name, srcs, deps = None, defines = None, copts=[]):
Expand Down

0 comments on commit d4e71b4

Please sign in to comment.