DUB 0.9.20

Sönke Ludwig sludwig at outerproduct.org
Fri Nov 29 09:01:53 PST 2013


A fresh DUB release is out. Apart from the usual bug fixes, there are a
few considerable changes:

 - Builds are now cached and only rebuilt when necessary for "dub build"
   and "dub run".
 - Generated VisualD projects and the output of "dub describe" now
   contain import files and string import files in addition to pure
   source files.
 - Running "dub --build=ddox" runs a local HTTP server that provides
   the docs instead of generating them all as actual HTML files.
 - Pre-release versions of dependencies (e.g. 1.0.0-rc.1) are now only
   installed of nothing else matches the version expression, or if "dub
   upgrade --prerelease" is used. This is supposed to encourage the use
   of pre-release versions instead of just working with branches for
   released packages.
 - https://github.com/rejectedsoftware/dub/blob/master/CHANGELOG.md

We also have now well over a hundred packages in the registry, 117 at
this point [1]!

Download at http://code.dlang.org/download


In the works for the next version is, among other things, a "dub test"
[2] command which executes unit tests (and possibly other kinds of tests
later) using a custom main() function, especially useful for automated
testing and testing of libraries without a main() function.

[1]: http://code.dlang.org
[2]: https://github.com/rejectedsoftware/dub/issues/83


More information about the Digitalmars-d-announce mailing list