Skip to content

Commit

Permalink
Bump rules_swift to 1.5.1
Browse files Browse the repository at this point in the history
rules_swift

fix

fix
  • Loading branch information
BalestraPatrick committed Jan 12, 2023
1 parent b60f748 commit 45b667b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module(
compatibility_level = 1,
)
bazel_dep(name = "bazel_skylib", version = "1.3.0")
bazel_dep(name = "rules_swift", version = "1.5.0", repo_name = "build_bazel_rules_swift")
bazel_dep(name = "rules_swift", version = "1.5.1", repo_name = "build_bazel_rules_swift")
bazel_dep(name = "rules_apple", version = "2.0.0", repo_name = "build_bazel_rules_apple")

non_module_deps = use_extension("//xcodeproj:extensions.bzl", "non_module_deps")
Expand Down
11 changes: 3 additions & 8 deletions examples/cc/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
bazel_dep(name = "rules_apple", repo_name = "build_bazel_rules_apple", version = "2.0.0")
bazel_dep(name = "bazel_skylib", version = "1.3.0")
bazel_dep(name = "rules_xcodeproj", repo_name = "com_github_buildbuddy_io_rules_xcodeproj", version = "1.5.0")
# TODO: bump to newest rules_swift containing bzlmod fixes and remove local_path_override
# bazel_dep(name = "rules_swift", repo_name = "build_bazel_rules_swift", version = "1.5.0")
local_path_override(
module_name = "rules_swift",
path = "../../../rules_swift"
)
bazel_dep(name = "rules_swift", repo_name = "build_bazel_rules_swift", version = "1.5.1")

local_path_override(
module_name = "rules_xcodeproj",
path = "../.."
module_name = "rules_xcodeproj",
path = "../.."
)
4 changes: 2 additions & 2 deletions xcodeproj/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ def xcodeproj_rules_dependencies(
_maybe(
http_archive,
name = "build_bazel_rules_swift",
sha256 = "32f95dbe6a88eb298aaa790f05065434f32a662c65ec0a6aabdaf6881e4f169f",
url = "https://github.com/bazelbuild/rules_swift/releases/download/1.5.0/rules_swift.1.5.0.tar.gz",
sha256 = "84e2cc1c9e3593ae2c0aa4c773bceeb63c2d04c02a74a6e30c1961684d235593",
url = "https://github.com/bazelbuild/rules_swift/releases/download/1.5.1/rules_swift.1.5.1.tar.gz",
ignore_version_differences = ignore_version_differences,
)

Expand Down

0 comments on commit 45b667b

Please sign in to comment.