bazelbuild / rules_swift

Bazel rules to build Swift on Apple and Linux platforms
Apache License 2.0
309 stars 133 forks source link

Move rules and other build definitions into their own public files and deprecate the umbrella `swift.bzl` file #1231

Closed brentleyjones closed 2 months ago

brentleyjones commented 2 months ago

Aside from the file moves, this required some minor shuffling of definitions in a few files that contains both internal and external defs, to ensure that more wasn't exported than intended.

This change doesn't delete swift.bzl yet; follow-up changes will update load statements that reference it directly first.

PiperOrigin-RevId: 449274280 (cherry picked from commit 57cdd762d4b2e49311c4595b6e1149fef553cfef)

brentleyjones commented 2 months ago

In a follow-up PR I'll do the same for the stuff in proto/proto.bzl.