[swift-build-dev] protocol for third-party testing frameworks

Brian Pratt brian at pratt.io
Thu Mar 17 13:17:19 CDT 2016

Here's the ticket: https://bugs.swift.org/browse/SR-968
Feel free to add comments!

Brian Pratt

On March 17, 2016 at 12:45:08 PM, Max Howell (max.howell at apple.com) wrote:

Ah! Sorry, that word choice ("distributed") was probably misleading. I'm definitely not concerned about the sources being distributed -- moreso about being able to have finer-grained control over what gets built and what doesn't.

Right now I have two choices:
- define a target (and have it be built when someone lists my package as a dependency)
- exclude the target, and never have it be built at all by SwiftPM

I'd like a middle-ground where I can define targets that are *only* built in the development context, link them with test dependencies, and then build only targets that I choose to make available when someone depends on the package.

Yes please open a ticket for this, we’ve discussed the need for this in the past and should schedule its development.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-build-dev/attachments/20160317/d51e3d57/attachment.html>

More information about the swift-build-dev mailing list