-
-
Notifications
You must be signed in to change notification settings - Fork 236
Improve "dub describe" and use BitFlags #607
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
Conversation
Accessing a non-existent key of a Json object inserts a Type.undefined entry if no entry of that name exists. This change includes this case and treats the key as unset.
…nd --data=lib-files (for dependency libs) This is needed because compilers/linkers often expect the two types of libs to be passed in differently: System/installed libs (--data=libs) must be provided like "-Lname" which the linker automatically converts to "path/lib*.a". Non-installed libs, such as dub dependencies, are passed with full filepath just like an object file. Your linker may vary.
…ectly for a compiler's commandline. Use --data-format=list to get the old list-style output.
…rary or a staticLibrary, then --data=libs never emits any output.
…'s easier to debug.
Main changes to "dub describe", apart from #572, is the addition of a "targets" field that lists the binary build targets, and making the API statically typed (vs. the old |
Pulling to prepare a beta-2 release with this included. |
Improve "dub describe" and use BitFlags
Awesome :) Is there any chance of #593 also getting into 0.9.24? That would also be really nice to have. |
No we have all those fancy describe functions with lots of description and plenty of tests and I still can't get a plain list of dependencies. Are you sure this goes in the right direction? |
@MartinNowak: These "knobs and switches" are necessary to decouple package management from build system, which is necessary for other reasons. Whether or not there are other things also needed, like getting a plain list of deps (a good idea, btw), is a separate matter and has no bearing on whether other features are worthwhile. I've been trying to hold back on this, but honestly, I'm getting tired of your constant pushback and naysaying at nearly every attempt to improve anything in D. Progress doesn't come from blocking improvements. |
Well have you even considered to use dub as library to get the data? |
On 10/31/2015 10:34 AM, Martin Nowak wrote:
You've brought that up several times before, and I've already addressed
Where's the goal/plan for conflating the two? Again, this has already |
The commits by @Abscissa have already been reviewed as part of #572.