Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
# https://github.com/bazelbuild/stardoc/issues/112
common --incompatible_allow_tags_propagation

common --flag_alias=swiftcopt=//swift:copt
common --flag_alias=host_swiftcopt=//swift:exec_copt

# Fail if a glob doesn't match anything (https://github.com/bazelbuild/bazel/issues/8195)
build --incompatible_disallow_empty_glob

Expand Down
15 changes: 14 additions & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,24 @@
module(
name = "rules_swift",
version = "0",
bazel_compatibility = [">=7.0.0"],
bazel_compatibility = [
">=7.7.0",
">=8.5.0",
],
compatibility_level = 3,
repo_name = "build_bazel_rules_swift",
)

flag_alias(
name = "swiftcopt",
starlark_flag = "//swift:copt",
)

flag_alias(
name = "host_swiftcopt",
starlark_flag = "//swift:exec_copt",
)

bazel_dep(name = "bazel_features", version = "1.30.0")
bazel_dep(name = "bazel_skylib", version = "1.7.1")
bazel_dep(name = "apple_support", version = "1.24.2", repo_name = "build_bazel_apple_support")
Expand Down