[swift-evolution] [Draft] Test-Only Package Dependencies and Targets
Ankit Agarwal
ankit at ankit.im
Thu Jan 26 01:38:02 CST 2017
We don't have support for inlining package dependencies in targets (see the
comment in above manifest example). I suggested that we turn this proposal
into adding that feature.
On Thu, 26 Jan 2017 at 1:04 PM, David Hart <david at hartbit.com> wrote:
> I'm confused. I've followed this from afar as I don't have much SwiftPM
> experience, but if that is true, what's the point of the proposal?
>
>
>
> > On 26 Jan 2017, at 08:12, Ankit Agarwal via swift-evolution <
> swift-evolution at swift.org> wrote:
>
> >
>
> > The test targets are *not* compiled when you run swift build. They're
> only complied on invocation of `swift test`. If a test target depends on a
> testing library (as in my example), they will *not* be built on invocation
> of `swift build`.
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170126/1d9dc3bb/attachment.html>
More information about the swift-evolution
mailing list