Skip to content

Commit

Permalink
Use common rules_swift name (#389)
Browse files Browse the repository at this point in the history
This is required for users who include Yams without bzlmod today
  • Loading branch information
keith authored Feb 17, 2023
1 parent 14e9066 commit 81b68c2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion BUILD
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@rules_swift//swift:swift.bzl", "swift_library")
load("@build_bazel_rules_swift//swift:swift.bzl", "swift_library")

cc_library(
name = "CYaml",
Expand Down
3 changes: 2 additions & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ module(
compatibility_level = 1,
)

bazel_dep(name = "rules_swift", version = "1.5.1", repo_name = "build_bazel_rules_swift")

bazel_dep(name = "platforms", version = "0.0.6", dev_dependency = True)
bazel_dep(name = "rules_apple", version = "2.0.0", dev_dependency = True)
bazel_dep(name = "rules_swift", version = "1.5.1")
2 changes: 1 addition & 1 deletion Tests/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ load("@rules_apple//apple:macos.bzl", "macos_build_test")
load("@rules_apple//apple:watchos.bzl", "watchos_build_test")
load("@rules_apple//apple:tvos.bzl", "tvos_build_test")
load("@rules_apple//apple:ios.bzl", "ios_build_test")
load("@rules_swift//swift:swift.bzl", "swift_test")
load("@build_bazel_rules_swift//swift:swift.bzl", "swift_test")

config_setting(
name = "linux",
Expand Down

0 comments on commit 81b68c2

Please sign in to comment.