<div dir="ltr"><div><div><div><div>Hello,<br><br></div>I've been using dub for a short time only, but one thing I wish is an easier way to create a project generating different targets (say, two executables and three dynamic libraries). I was able to do something like this using sub-packages, but couldn't find a way to generated all targets in a single run. I wished to just say something like 'dub build' and have all targets updated.<br><br></div>I don't know if this usage is in the scope of dub, nor do I know if it would require any breaking change, but you asked for desired changes, so here it is :-)<br><br></div><div>Cheers,<br></div><div><br></div>LMB<br><br></div>PS: I generally enjoy dub! Thanks a lot for it!<br><div><div><div><div><div><br></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 22, 2014 at 6:33 AM, Sönke Ludwig <span dir="ltr"><<a href="mailto:digitalmars-d-announce@puremagic.com" target="_blank">digitalmars-d-announce@puremagic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">After again a longer-than-anticipated wait, the next release of the DUB package and build manager is finally ready. This is a major milestone with some important changes in the way dependency versions are handled, making it more robust for a rapidly growing ecosystem. The number of available packages is now well above the 300 mark and keeps growing steadily:<br>
<br>
<a href="http://vibed.org/temp/dub-packages.png" target="_blank">http://vibed.org/temp/dub-<u></u>packages.png</a><br>
<br>
<br>
But even more important, I'm pleased to announce that DUB is now officially developed as part of the D language ecosystem! Based on the decision back during this year's DConf, the repository has been migrated to the D-Programming-Language organization on GitHub [1], and we are now working towards a 1.0.0 milestone [2] that is supposed to be ready for inclusion into the official DMD installation package.<br>
<br>
If you can think of any potentially important and especially backwards-incompatible changes/additions, please mention them (ideally as GitHub tickets), so that we can include them before the 1.0.0 release.<br>
<br>
<br>
Major changes and additions in 0.9.22 include:<br>
<br>
- Improved dependency version handling scheme. Version upgrades are<br>
now explicit, with the current snapshot being stored in the<br>
"dub.selections.json" file. This is similar to how other popular<br>
systems, such as Bundler [3], work, but built into the core system.<br>
Committing "dub.selections.json" to the repository ensures that<br>
everyone gets the same (working) combination of dependency versions.<br>
<br>
- Branch based dependencies (e.g. "~master") have been deprecated due<br>
to their destructive influence on the package ecosystem. See the<br>
wiki [4] for more information, including on the alternative<br>
approaches that are now supported.<br>
<br>
- Simple DustMite [5] integration. Using the "dub dustmite" command it<br>
is now possible to reduce bugs in DUB packages with ease, even in<br>
complex package hierarchies. The condition used for reduction can be<br>
specified in terms of exit code or as a regular expression on the<br>
output of either the compiler, linker, or final executable.<br>
<br>
- Added BASH and FISH shell completion scripts.<br>
<br>
- Added general support for single-file compilation mode, as well as<br>
separate compile/link mode for GDC.<br>
<br>
- Platform detection now also works when cross-compiling.<br>
<br>
- Added the "*" version specifier to match any version, and path based<br>
dependencies don't need to specify an explicit version anymore.<br>
<br>
<br>
As always, find the full list of changes in the change log [6] and download at:<br>
<br>
<a href="http://code.dlang.org/download" target="_blank">http://code.dlang.org/download</a><br>
<br>
<br>
[1]: <a href="https://github.com/D-Programming-Language/dub/" target="_blank">https://github.com/D-<u></u>Programming-Language/dub/</a><br>
[2]: <a href="https://github.com/D-Programming-Language/dub/issues?q=is%3Aopen+is%3Aissue+milestone%3A1.0.0" target="_blank">https://github.com/D-<u></u>Programming-Language/dub/<u></u>issues?q=is%3Aopen+is%3Aissue+<u></u>milestone%3A1.0.0</a><br>
[3]: <a href="http://bundler.io/" target="_blank">http://bundler.io/</a><br>
[4]: <a href="https://github.com/D-Programming-Language/dub/wiki/Version-management" target="_blank">https://github.com/D-<u></u>Programming-Language/dub/wiki/<u></u>Version-management</a><br>
[5]: <a href="https://github.com/CyberShadow/DustMite/wiki" target="_blank">https://github.com/<u></u>CyberShadow/DustMite/wiki</a><br>
[6]: <a href="https://github.com/D-Programming-Language/dub/blob/master/CHANGELOG.md" target="_blank">https://github.com/D-<u></u>Programming-Language/dub/blob/<u></u>master/CHANGELOG.md</a><br>
</blockquote></div><br></div>