[swift-evolution] [Draft] Package Manager Custom Targets Layout

Brent Royal-Gordon brent at architechies.com
Mon Mar 27 00:27:46 CDT 2017


> On Mar 24, 2017, at 1:26 PM, Ankit Aggarwal via swift-evolution <swift-evolution at swift.org> wrote:
> 
> sources: This property defines the source files to be included in the target, relative to the target path. The default value of this property will be an empty array, which means all valid source files found in the target's path will be included.


Stupid little niggle: could this be an optional array with a default value of `nil`? It seems more natural to treat the absence of a `sources` list as meaning "auto-detect" than to treat an empty `sources` list that way.

-- 
Brent Royal-Gordon
Architechies

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170326/6fd83457/attachment.html>


More information about the swift-evolution mailing list