Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dub describe --data=dflags outputs duplicate dflags #2767

Open
MrcSnm opened this issue Dec 30, 2023 · 2 comments
Open

dub describe --data=dflags outputs duplicate dflags #2767

MrcSnm opened this issue Dec 30, 2023 · 2 comments

Comments

@MrcSnm
Copy link
Contributor

MrcSnm commented Dec 30, 2023

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

@maxhaton
Copy link
Member

maxhaton commented Jan 2, 2024

What problems does this cause?

@MrcSnm
Copy link
Contributor Author

MrcSnm commented Jan 3, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants