DS3

Gregor Richards Richards at codu.org
Sun Aug 26 21:56:21 PDT 2007


Gregor Richards wrote:
> David B. Held wrote:
>> So I d/led and installed DS3, ran over to my favorite D project, and 
>> typed 'dsss build' to see what would happen.  It tried compiling 
>> everything in the directory and gave me a lot of warnings about no 
>> module declaration; so I thought that was handy, fixed it, and tried 
>> it again.  This time, rebuild tells me I'm an idiot and I haven't 
>> invoked it correctly, and gives me the help page for rebuild.  Well, I 
>> guess that's ok, but I don't really want to have to know that DS3 is 
>> built on top of rebuild, because I couldn't feed it the right 
>> arguments anyway.
>>
>> It seems to me that in this case, DS3 should tell me something like: 
>> "Hey you moron, I couldn't find a config file so I don't know how to 
>> build your project."  That's actually what I was hoping and expecting 
>> to see, so how likely is it we can get this kind of idiot-proofing 
>> added? I suspect it may help the adoption rate a little if the tool 
>> gives hints to impatient people who don't like to RTFM, and it will 
>> make it look just a little more polished.  Thanks.
>>
>> Dave
> 
> DSSS is able to build libraries without dsss.conf files, as a 
> semi-backwards-compatibility thing. I'm not sure whether it was the best 
> decision I ever made ... I think I'll add a warning for lack of 
> dsss.conf files (but still allow it to work).
> 
> Basically, I'm trying to decide whether to drop that feature or make it 
> smarter. The smarter version would grope around for possible binaries, 
> and basically "do the right thing" in the general case. But, having it 
> infer things is generally bad when you accidentally type 'dsss build' in 
> your home directory. So, rock and a hard place.
> 
>  - Gregor Richards
> 
>  - Gregor Richards

PS all the cool kids double-sign.

  - Gregor Richards

  - Gregor Richards

  - Gregor Richards

PPS at least double



More information about the Digitalmars-d mailing list