[swift-users] What are .swift.gyb files?

J. Cheyo Jimenez cheyo at masters3d.com
Sat Dec 26 17:18:16 CST 2015


ah, nice. Thank you!

On Sat, Dec 26, 2015 at 3:19 AM, Dmitri Gribenko <gribozavr at gmail.com>
wrote:

> On Sat, Dec 26, 2015 at 1:59 AM, J. Cheyo Jimenez via swift-users <
> swift-users at swift.org> wrote:
>
>> if I wanted to use that script to generate xctests, how do I feed it a
>> custom gyb file in? Is there a help file somewhere I can read? I know
>> this  is not meant for that but it would be useful.
>
>
> For example:
>
> ./utils/gyb -D CMAKE_SIZEOF_VOID_P=8
> ./stdlib/public/core/FloatingPoint.swift.gyb
>
> Also try running `gyb --help`.
>
> Dmitri
>
> --
> main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
> (j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20151226/3a295ea5/attachment.html>


More information about the swift-users mailing list