[swift-build-dev] Test only dependencies
Ankit Agarwal
ankit at ankit.im
Mon Nov 7 11:03:55 CST 2016
Hi,
It was removed because it stopped working at some point of time during a
refactor (I think?) and then never got fixed. It made sense to remove it
and then bring it back with some discussion/proposal on the list.
I think it should be called "localDependencies" i.e. dependencies that are
local to your package and will not be available to dependent of your
package. Other than naming I think it makes sense to allow pinning and
editing for local dependencies.
On Sat, Nov 5, 2016 at 1:04 AM, Gordon Fontenot via swift-build-dev <
swift-build-dev at swift.org> wrote:
> Hello all,
>
> I'd like to start an earnest conversation about test only dependencies for
> Swift Package Manager. This was, at one point, part of the original release
> plan but at some point it stopped working and was subsequently dropped from
> the API[1]. Additionally, some thought seems to have been given to this as
> a
> part of the test naming convention proposal[2].
>
> I'd like to understand more about why this was dropped/stopped working, and
> what it would take to get it implemented. I see test-only dependencies as a
> _massive_ hole in the current swift package manager functionality, and it's
> actively preventing me from adopting `swift test` in most of the libraries
> I'm
> involved in.
>
> [1]: https://github.com/apple/swift-package-manager/commit/
> 34b7826cb586b0769ea5f60a7718d7de599ce27f
> [2]: https://github.com/apple/swift-evolution/blob/master/
> proposals/0129-package-manager-test-naming-conventions.md
>
> - Gordon Fontenot
>
> _______________________________________________
> swift-build-dev mailing list
> swift-build-dev at swift.org
> https://lists.swift.org/mailman/listinfo/swift-build-dev
>
>
--
Ankit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-build-dev/attachments/20161107/64f47ead/attachment.html>
More information about the swift-build-dev
mailing list