updatesh.d now ready for download ;)
Baz via Digitalmars-d
digitalmars-d at puremagic.com
Sun Feb 8 02:58:37 PST 2015
On Thursday, 29 January 2015 at 08:05:28 UTC, Laeeth Isharc wrote:
> On Wednesday, 28 January 2015 at 18:46:05 UTC, Benjamin Thaut
> wrote:
>> Am 28.01.2015 um 18:05 schrieb Andrei Alexandrescu:
>>> On 1/28/15 9:01 AM, Benjamin Thaut wrote:
>>>> On Wednesday, 28 January 2015 at 16:18:18 UTC, Andrei
>>>> Alexandrescu wrote:
>>>>> We have a really nice script:
>>>>>
>>>>> https://github.com/D-Programming-Language/tools/blob/master/update.sh
>>>>>
>>>>
>>>> And once again this only works for linux...
>>>
>>> OSX too. What would be a good approach for Windows?
>>>
>>>> DMDs test framework is also a hell to use on Windows. It
>>>> takes 5 times
>>>> as long to run on Windows compared to linux.
>>>
>>> Interesting. Why would that be?
>>>
>>>
>>> Andrei
>>>
>>
>> Because its a .sh script and windows sucks for starting tons
>> of processes. (What a .sh script basically is)
>> It would be great if the entire dmd testing process would be
>> driven by a executable written in D.
>>
>> Same goes for the update.sh, why can't it be a D program?
>> (Requiering that Git is in the PATH or maybe searching some
>> standard locations).
>
>
> Now the update.sh can be a D program. Ported it. Might need
> some tweaking before it works on Windows or OS X, and I do not
> claim it is pretty.
>
> https://github.com/D-Programming-Language/tools/pull/158
>
>
> Laeeth.
It has been a source of inspiration to write a D script designed
to build DMD-head for win32, though it'd need improvment:
http://wiki.dlang.org/Building_DMD#Using_a_D_script
- it clones or pulls dmd/runtime/phobos
- it builds dmd/runtime/phobos
with a few tweaking it could be cross-platform.
More information about the Digitalmars-d
mailing list