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

Jens Nerup jens at makecph.com
Tue Mar 28 02:45:11 CDT 2017


+1

> On 27 Mar 2017, at 07.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 <mailto: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-evolution/attachments/20170328/4f09aab2/attachment.html>


More information about the swift-evolution mailing list