www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Some reason rdmd uses -v instead of -deps?

reply Nick Sabalausky <SeeWebsiteToContactMe semitwist.com> writes:
Does anyone know why RDMD collects dependencies using "-v" instead of 
"-deps"?

I was thinking of doing a PR to switch it to -deps as that would help 
solve a couple problems, but I'm not sure if there's already some reason 
why it's using -v instead. (I could've sworn it used to use -deps at 
some point years ago.)
Jun 18 2015
next sibling parent "Jesse Phillips" <Jesse.K.Phillips+D gmail.com> writes:
On Friday, 19 June 2015 at 04:35:26 UTC, Nick Sabalausky wrote:
 Does anyone know why RDMD collects dependencies using "-v" 
 instead of "-deps"?

 I was thinking of doing a PR to switch it to -deps as that 
 would help solve a couple problems, but I'm not sure if there's 
 already some reason why it's using -v instead. (I could've 
 sworn it used to use -deps at some point years ago.)
Pretty sure that -deps didn't exist when rdmd was initially built. I'd think that any other use for using -v would be considered a bug in -deps.
Jun 18 2015
prev sibling parent Jacob Carlborg <doob me.com> writes:
On 19/06/15 06:35, Nick Sabalausky wrote:
 Does anyone know why RDMD collects dependencies using "-v" instead of
 "-deps"?

 I was thinking of doing a PR to switch it to -deps as that would help
 solve a couple problems, but I'm not sure if there's already some reason
 why it's using -v instead. (I could've sworn it used to use -deps at
 some point years ago.)
Search for "deps" in the git history to see if/when it was changed, i.e. "git log -S deps". -- /Jacob Carlborg
Jun 19 2015