[swift-evolution] Draft Proposal SwiftPM System Module Search Paths
max.howell at apple.com
Thu Mar 24 12:43:55 CDT 2016
> First of all, +1 on the idea.
> But second a question: in the Package.swift file providers section, what would need to be done in for example the "apt" case it a package has a different name on Debian and Ubuntu?
> This is something that happens occasionally, so we should at least be able to support this.
> Is this something that can be tackled by using (optional) extra parameters on the enum values?
Good point, this is lacking from the proposal and should be addressed.
An immediate suggestion is (like you say):
.Apt(.Ubuntu(version: “15.10”, installName: “"), .Debian(“bar”))
Though I think this is getting confusing, so this is not a concrete proposal.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution