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

David Sweeris davesweeris at mac.com
Mon Mar 27 09:33:02 CDT 2017


Agreed

Sent from my iPhone

> On Mar 26, 2017, at 22:27, Brent Royal-Gordon via swift-build-dev <swift-build-dev at swift.org> wrote:
> 
>> 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
> 
> _______________________________________________
> swift-build-dev mailing list
> swift-build-dev at swift.org
> https://lists.swift.org/mailman/listinfo/swift-build-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-build-dev/attachments/20170327/df72d1b7/attachment.html>


More information about the swift-build-dev mailing list