dub icon indicating copy to clipboard operation
dub copied to clipboard

dub describe --data=dflags outputs duplicate dflags

Open MrcSnm opened this issue 1 year ago • 2 comments

System information

  • dub version: 1.36.0

Bug Description

Whenever having a project with "dflags" and some dependency with "dflags", and this dependency includes dflags the same as the parent, the dependency is built using a command with duplicate DFLAGS. This sympton is present whenever one uses --verbose or using dub describe

MrcSnm avatar Dec 30 '23 19:12 MrcSnm

What problems does this cause?

maxhaton avatar Jan 02 '24 20:01 maxhaton

What problems does this cause?

Readability problem when using --verbose. It also makes the CL command bigger, which is bad for usage with custom tooling when using with Windows. Also, I really don't think we should ever be passing duplicate dflags.

MrcSnm avatar Jan 03 '24 11:01 MrcSnm