[swift-build-dev] Swift Package Manager - Support for downloading/installing external dependencies that a Swift Package may have
Max Howell
max.howell at apple.com
Thu Jan 28 13:08:35 CST 2016
> Thanks Max for your answer. To your point, thinking about it more, it's probably not a great idea to have SPM execute arbitrary scripts.
>
> It is good news to hear that something similar to option #1 could be implemented and that there are plans to provide something as part of SPM that can take of installing/downloading external [non-Swift package] dependencies that a Swift Package may depend on.
>
> Does providing this functionality in SPM have a high priority? Any other details about the plans for this feature that could be shared at this point?
High-ish. There are gaping holes in SwiftPM that are currently higher priority.
This ticket should wait for my up-coming proposal that will improve module-map-packages IMO. Then we can put this in there and implement it at the same time.
IMO it should work like Homebrew’s caveats. If the build fails it outputs suggested commands to install the missing system-packages, then the user can type those commands in if they so choose.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-build-dev/attachments/20160128/efc18cb6/attachment.html>
More information about the swift-build-dev
mailing list