bazelbuild / rules_swift

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

Add `@build_bazel_rules_swift//swift:defs.bzl` #1200

Open UebelAndre opened 2 months ago

UebelAndre commented 2 months ago

Many other rules use this pattern but noticed this repo doesn't. Would it be reasonable to add this file so loads are predictable?

keith commented 2 months ago

no strong pref on adding this or not but note that swift:swift.bzl is the equivalent today

UebelAndre commented 2 months ago

Yeah, my rationale for opening this issue is that this doesn't follow the (seemingly common) pattern of other rule repos and incurs some burden of knowledge for developers introducing swift to their repo. I don't think I care what the pattern is I just want it to be consistent (at least for projects in bazelbuild).