[swift-build-dev] Package Manager command line option clean-up
Daniel Dunbar
daniel_dunbar at apple.com
Thu May 26 13:09:14 CDT 2016
> On May 26, 2016, at 11:04 AM, Rob Allen via swift-build-dev <swift-build-dev at swift.org> wrote:
>
>>
>> On 26 May 2016, at 18:44, Anders Bertelrud <anders at apple.com <mailto:anders at apple.com>> wrote:
>>
>> On 2016-05-26, at 00.43, Rob Allen <rob at akrabat.com <mailto:rob at akrabat.com>> wrote:
>>
>>> Looks nice and consistent to me. I like it.
>>
>> Great!
>>
>>> It seems like `-vv` is not documented though or has it been removed?
>>
>> It’s been removed, since:
>>
>> a) it is non-standard, and
>> b) it can be easily achieved using -v -v
>>
>> I didn’t change the behavior that each occurrence of -v increments the verbosity level.
>
> Works for me.
>
>>> Also, it seems slightly strange that there's not a long-form name for test's `-s` option.
>>
>> That’s a good point. “specifier” would be the obvious suggestion for a long-form name. Does that sound good to you?
>
> Personally, I'm not a fan of the word "specifier to mean a single test class/method, and would have picked --case/-c or --test/-t given the choice.
>
> However, given that the recently chosen short form is -s and the title of that section is "SPECIFIER", then --specifier is nicely consistent.
+1 for specifier, for now.
We have some work in flight to allow moving to a more flexible syntax for this, eventually (but we need XCTest discovery to land first).
- Daniel
>
> Regards,
>
> Rob...
>
>
> _______________________________________________
> swift-build-dev mailing list
> swift-build-dev at swift.org <mailto:swift-build-dev at swift.org>
> https://lists.swift.org/mailman/listinfo/swift-build-dev <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/20160526/ce6307db/attachment.html>
More information about the swift-build-dev
mailing list