Commit 9bbd940
authored
chore: enable
Background: SPM always includes the developer search paths for
compilation and linking. Now that `rules_swift` supports including these
for non-test targets, we will enable this feature.
- Use `always_include_developer_search_paths` for generated
`swift_library` targets.
- Remove check for `XCTest` imports. Previously, we would mark targets
as `testonly = True` if `XCTest` imports were detected. With the
`always_include_developer_search_paths` feature, this is no longer
necessary.
Closes #791.always_include_developer_search_paths for all swift_library targets in external Swift packages (#911)1 parent a9ab9f2 commit 9bbd940
File tree
7 files changed
+293
-83
lines changed- examples/nimble_example
- Sources/NimbleExample
- swiftpkg
- internal
- tests
7 files changed
+293
-83
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
0 commit comments