[swift-build-dev] protocol for third-party testing frameworks
max.howell at apple.com
Thu Mar 17 12:45:07 CDT 2016
> 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...
More information about the swift-build-dev