bazelbuild / rules_swift

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

Separate `swift_binary` and `swift_test` into their own .bzl files #1220

Closed brentleyjones closed 2 months ago

brentleyjones commented 2 months ago

The implementation of swift_test is becoming more complex and diverging from just a simple binary now that test discovery is supported, so it makes more sense to have these rules live in separate files and move common functionality into linking.bzl instead.

PiperOrigin-RevId: 430970577 (cherry picked from commit 9ab07198f2f678451ce627749d9fc90fa441d59d)