Attempt to get rid of phobos Makefiles, using reggae
Steven Schveighoffer via Digitalmars-d
digitalmars-d at puremagic.com
Fri Jun 5 12:17:14 PDT 2015
On 6/5/15 11:03 AM, Atila Neves wrote:
> On Friday, 5 June 2015 at 09:22:14 UTC, Jacob Carlborg wrote:
>> On 2015-06-04 23:50, Atila Neves wrote:
>>> http://dpaste.dzfl.pl/562f1ddc1aad
>>
>> Reggae doesn't support shell globbing of files? Something like:
>>
>> ExcludeFiles(["std/c/windows/**/*.d"]);
>
> Not right now, no. The good thing about how it's designed is you could
> write your own. Of course, the whole point is to have usable high-level
> builtins as well. It's a good idea, but like I said before, I hardly
> ever have to exclude anything in my own projects. Feel free to open an
> enhancement request.
This sounds like a job for CAPTAIN RANGE!!!
Seriously though, the thought of using ranges to allow specifying files
fits perfectly. Imagine the power!
"std/c/windows/".allSubFiles.filter!(a => a.name.extension == ".d");
Need that allSubFiles range, it probably already exists :)
-Steve
More information about the Digitalmars-d
mailing list